Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.3 KB

testing.md

File metadata and controls

24 lines (15 loc) · 1.3 KB

Testing

Bug fixes and features should always come with tests. A guide for writing tests has been provided in each repository to make the process easier. Looking at other tests to see how they should be structured can also help.

The test files should live next to the code that it is testing.

Before submitting your changes in a pull request, always run the full test suite.

Testing Tools

Testing UI Business Logic

Separate the business logic from the view as much as possible. Create hooks, helpers & reducers to utilize this logic from the UI and test that code in isolation from its UI.