Skip to content

TanviirDev/TsTestCourse

Repository files navigation

TSTestCourse

A refresher Typescript project that covers all the testing types using Jest. The project covers all the aspects of unit testing and integration testing such as:

  • Unit-testing configuration with parameters like: roots, transform, testRegex or verbose.
  • Test suites structure: describe with value, test, descriptions, and hooks like beforeEach.
  • Basic and advanced assertions, comparing primitive types, objects, or even errors.
  • Instantiating test double objects like mocks, stubs, spies or fakes.
  • Write complex mock objects which can be used with "strange" JavaScript libraries.
  • Jest mocks, spies.
  • London/Chicago testing approach.
  • Jest Integration tests for Rest APIs
  • Custom matchers and snapshots.
unitTest
unitTest

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors