This course is not just a theory and bullet points about testing React. In this course, we test real application and you will gain not just knowledge but also practice.
We will focus on testing web application in React. I will explain why it’s worth testing and what tools we should pick for testing react application. We will be talking about many different aspects of testing: Unit tests, integration tests, snapshots, test runner, describe, before and after tests, skip tests, loops, matchers, truthy and falsy, render component, fire event, mocking, fetching API, act, wait and many more. After this tutorial, you will be able to handle many obstacles with testing the dynamic applications in React. We will write a lot of different tests to cover different technics and ways to select certain elements and interact with them.
The first tool that we will learn will be Jest. I will show you how to run tests and write them. At this level, we will write tests without React application. We will focus on Jest only and use it as our test runner.
After we will know what is Jest and how it works, we will install our first application with React Testing Library. I will show you how that library works and what options do we have with it. We will render our components and we will trigger different events.
Specification: React – testing
|
2 reviews for React – testing
Add a review Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Price | $9.99 |
---|---|
Provider | |
Duration | 5 hours |
Year | 2021 |
Level | Beginner |
Language | English ... |
Certificate | Yes |
Quizzes | No |
Fernando Matias Ramos –
testing the real app was rushed on the explanations… the most complex examples were too quickly…
Cips –
Pros: modern testing tools following good practices of react testing library testing unexpectedly useful, common real life scenarios (at least from my experience) Good explanations of what the functions that are used do Good practices on using jest The code is clean and well structured Valuable testing insights The course is engaging and learned alot UP TO DATE! npm packages, big plus no deprecations I really like the fact that the teacher gives hints of what should you do in different but similar situations you might encounter in testing your projects Cons: The teacher goes a bit too fast for my liking but not too fast Some concepts are a bit hard to understand from the explanations but thats kinda understandable, you need to look in the docs as well to understand the most the app is using authentication but thats not really tested lesson 30 is a bit confusing for me the python cli command is not working for me (windows) so no backend api thus cant login in the app you dont need to see the app if you understand the code tho the english accent is a bit off but so is mine 🙂 The cons as bad as they sound like arent really that bad, if you just pay attention to the course content you probably won’t care about them. I recommend this course to beginners in testing react components for sure its a good start 🙂