-
Notifications
You must be signed in to change notification settings - Fork 4
Test Setup
We use Cypress as a End-to-End testing library. The cypress tests are located in the cypress/integration
folder. When cypress is run it will also provide videos of the failing tests, so you can easily debug where your application fails.
You can run cypress with the following command: npx cypress run
We use Jest for unit testing. The unit tests are located directly with the code to be tested and are named with <file_name>.spec.ts
You can run the tests with npm run test
In order to make testing and developing easier, we provide some dummy data which will be created in the database with npm run db:seed
These will automtically be started when you run npm run dev
.
-
Baikal: Baikal is a lightweight CalDAV server. It contains a sample user john.doe with the password root. You can add it from the following url: http://localhost:5232/dav.php/calendars/john.doe/test
-
Nextcloud: Nextcloud also will host a CalDav calendar, which can be used for testing purposes
-
Mailhog is used to test whether emails are properly send