Skip to content

Source code samples for the workshop about testing React applications.

Notifications You must be signed in to change notification settings

bespoyasov/testing-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing React Applications in Practice

Read in Russian

In this workshop, we will write a currency converter and cover it with tests. In the workshop, we will discuss how to:

  • Extract and test business logic using pure functions;
  • Divide the code into modules so that it's easy to test them;
  • Apply different mock strategies, prepare stubs and test data;
  • Test side-effects and React hooks;
  • Work with asynchronous functions and test them;
  • Connect third-party libraries via adapters for convenient testing.

Sources