waka
waka copied to clipboard
Automated Tests
This is highly dependent on data, and time of day, and more. Here's what we need:
- [ ] GTFS Excerpts - Speeds up import time into DB. Going to need to be separate project.
- [ ] SQL Server - This is going to have to be done either through a CI platform that supports SQL Server, or potentially through docker.
- [ ] Import Tests - Tests to see if the GTFS can be imported into the DB
- [ ] Data Tests - Tests to see if the stored procedures are working properly.
- [ ] Client Tests - At a very minimum, see if things build? Possibly check if React Elements render.
- [ ] Coverage - Trivial, using something like nyc.
- [ ] CI - Travis? CircleCI? Do we need our own Jenkins server.
What are you thinking about testing with the CI tests?
Mostly just to run the tests automatically, but ideally it runs the whole suite - gtfs import, stored procedures, builds the client etc etc
If you have the tests available, setting up a CI is really easy