Testing

NeoDash uses Cypress for automated testing. To install Cypress, check out the official installation instructions.

After cypress is installed, you can use:

npm run test

To open the Cypress GUN. Alternatively, use:

npm run test-headless

To run Cypress from the UI.

Before starting the tests, make sure you have a local instance of NeoDash running at http://localhost:3000 using npm run dev.

Cypress Above: a screenshot of the Cypress GUI.

Debug Report

For ad-hoc testing, a debug report can be generated by NeoDash. This report contains a JSON representation of the current state of the NeoDash application.

To generate a debug report, open the `About' screen. Then, click the 'Debug Report' button in the bottom left corner.

About