-
Notifications
You must be signed in to change notification settings - Fork 2
Unit Tests
Imogene McDonald edited this page Jan 21, 2021
·
9 revisions
The goal of writing tests is to make sure a user will be able to use the application properly. In determining what to test, think about the observable effect that code has for the end user and developer user.
- It renders correctly
- The states
- The events
- Other interactive features
- Expected errors given something illegal
- Implementation details that don't affect user functionality
- Things that we didn't create, like anything third-party