Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Unit Testing

Kiki Pluche edited this page Nov 17, 2017 · 1 revision

What should be tested?

If its critical it should be tested, if it's not critical or aesthetic dont test it.

If you were to remove the element, would the app stop working? If so it needs a unit test!

Page components

  • critical components exist

Display components

  • critical components exist
  • actions trigger events
  • actions trigger functions

Data components

  • Test everything in every way possible

Useful reference