-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If we wanted e2e tests / CI, here's the steps as I see it:
- Add some basic unit tests (jest) and run those first in the CI build
- Pull the server repo
- Set up a Mysql instance
- create a
npm run resetdbmethod to reset the database with the test data before each test - Use the mock version of Google Places API and make sure all test-run queries are prepared
- build and start the PHP Lumen API in "testing" mode with CI .env config
- Run cypress tests
Still leaves open the question of how to handle the email / confirmation step for posting a score / grade. Possibly tail the PHP logfile for the emailed link (since the tests use the "log" email driver and write the emails to the log, rather than sending).
Metadata
Metadata
Assignees
Labels
No labels