pages.courses.show.header

pages.courses.show.course_updated

pages.courses.show.subscribe

pages.courses.show.subscription_description

pages.courses.show.included.header

pages.courses.show.included.theory.value
pages.courses.show.included.exercises.value
pages.courses.show.included.questions.value
pages.courses.show.included.self_study
pages.courses.show.included.extra_materials
pages.courses.show.included.extended_material

models.attributes.base.description

The market-leading programming processes includes automated testing as a key component. The only trustworthy method for verifying that the code is functional is through tests. They do not eliminate bugs, but they do enable you to maintain a manageable amount of them. Tests provide assurance that changes made to one component of the system would not harm other parts.

This course looks at both general test writing principles and contemporary JavaScript testing tools.

pages.courses.show.skills

  • Writing better code with fewer bugs than code without tests
  • Build the architecture of your code better based on how it will be used
  • Write code faster due to automated result check
  • Perform code refactoring more often, ridding it of legacy, thanks to the guarantees that tests give

pages.courses.show.syllabus

1

Introduction

Course overview

2

How and why to write tests?

Understand what tests are supposed to do and what they look like

3

Assertions

Learn about the assert module and its basic functions for performing checks

4

power-assert

Learn about a library that dramatically simplifies the analysis of statement output

5

Jest

Discover the most popular framework for testing in JavaScript

6

Matchers (expect)

Learn the Jest matchers

7

Unit Tests

Go all the way through writing tests using the example of stack testing

8

Data preparation

Learn about the beforeEach hook that runs before each test

9

Bad and good testing practices

Learn about common test writing mistakes

10

Code Coverage

Learn how to find code with no test coverage

11

Test-Driven Development (TDD)

Learn more about writing tests before start coding

12

Continuous Integration (CI)

Learn how to build a project automatically

pages.courses.show.recommended_programs

Course Cover
  • pages.courses.pros.right_in_browser
  • pages.courses.pros.lifetime_access
  • pages.courses.pros.learn_as_you_go
pages.courses.show.subscribe

pages.courses.show.subscription_description