JS: Automated testing - course 3900 rub. from Hexlet, training 14 hours, Date: December 1, 2023.
Miscellaneous / / December 04, 2023
Included in the course
- 12 lessons (video and/or text)
- 10 exercises in the simulator
- 34 screening tests
- Independent work
- Additional materials
- Help in "Discussions"
- Access to other courses on the platform
What will you learn
- Write better code that contains fewer errors than code without tests
- It's better to build the architecture of your code based on how it will be used
- Write code faster due to automated verification of its operation
- Refactor code more often, eliminating legacy, thanks to the guarantees that tests provide
You will become familiar with concepts such as assertions, TDD, and continuous integration. Also learn how to better architect your code based on how it will be used. The knowledge from this course will help you write better code that contains fewer errors. To make learning easier, you should study the courses in advance: JS Basics, JS: Arrays and JS: Functions.
Introduction
Get to know the course and its goals
Why and how to write tests?
Understand what tests are supposed to do and what they look like
Asserts
Get to know the assert module and its main functions for performing tests
power-assert
Get acquainted with a library that radically simplifies the analysis of statement output
Jest
Get to know the most popular JavaScript testing framework
Matchers (Expectations)
Meet Jest matchers
Unit tests
Go through the full path of writing tests using stack testing as an example
Data preparation
Get to know the beforeEach hook, which is executed before each test.
Bad and good testing practices
Get acquainted with typical mistakes that are made when writing tests
Code Coverage
Learn to find code that is not affected by tests
Test Driven Development (TDD)
Learn to write tests before code
Continuous Integration (CI)
Get acquainted with automatic project assembly
Independent work
Additional tasks that allow you to consolidate the acquired theory
Additional materials
Articles and videos curated by the Hexlet team. Will help you dive deeper into the topic of the course