astarte-platform / astarte-dashboard

Astarte dashboard
http://astarte-platform.org
Apache License 2.0
16 stars 18 forks source link

Testing Dashboard components and functionalities #300

Open Pavinati opened 3 years ago

Pavinati commented 3 years ago

As the codebase grows, we need to increase the amount of features we're testing. Cypress is good for testing user interactions with the Dashboard but tests requires a browser (headless) and are typically slow. To improve the test coverage without impacting the test performances some unit testing would be required

Pavinati commented 3 years ago

Jest

Pros:

Cons:

Mocha

Pros:

Cons:

React testing library

Pros:

Cons: