waka icon indicating copy to clipboard operation
waka copied to clipboard

Automated Tests

Open consindo opened this issue 7 years ago • 3 comments

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.

consindo avatar Nov 09 '17 02:11 consindo

What are you thinking about testing with the CI tests?

ghost avatar Nov 09 '17 03:11 ghost

Mostly just to run the tests automatically, but ideally it runs the whole suite - gtfs import, stored procedures, builds the client etc etc

consindo avatar Nov 09 '17 04:11 consindo

If you have the tests available, setting up a CI is really easy

ghost avatar Nov 09 '17 04:11 ghost