course
JS: Advanced Testing
2 students
Course updated
16 January 2023
Included in the course
10 lessons (video or text)
9 exercises in the IDE
24 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform
What you'll learn
- Freely test even those applications that interact a lot with the external environment
- Test code that actively works with the file system
- Apply polymorphism to replace the implementation of code that is inconvenient in testing
- Use stubs and mocking for their intended purpose
Description
Testing real applications is much more complicated than just calling functions. There are a lot of network requests to external resources, interaction with the file system, asynchronous code, and external libraries with their tricks. It all comes down to a good understanding of side effects and effective ways to isolate and manage them.
Course program
-
5
Testing code that interacts with files
Learn how to properly restore the environment. Explore the virtual file system. -
11
Additional resources
Some materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
Suggested learning programs
profession
Development of front-end components for web applications
10 months
•
from scratch
Start
at any time