course
JS: Advanced Testing
5 students
Course updated
25 July 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
Estimated time: 12 hours
-
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