ontobio icon indicating copy to clipboard operation
ontobio copied to clipboard

Travis does not run all tests automatically

Open dougli1sqrd opened this issue 5 years ago • 0 comments

The Makefile has a target to run travis tests. These respresent only some tests (called "local" in a comment). Travis should run all, or as many tests as is reasonable, automatically. If I add a new unit test, it should just run.

If the problem is that some tests are slow since they use the network, those tests should be pulled out into a separate folder called integration. If there's a way to perform a similar or identical test that does not use the network (which is slow and unreliable and introduces entropy into what should be a fast test turn-around cycle) we should refactor the tests not use the network (or other external resources).

In this way, we can ensure most tests will run fast-ish, and be automatically added to the test run that travis performs.

Many of these tests fail currently, and since no one runs them in travis or otherwise, we aren't aware of their failures.

dougli1sqrd avatar Oct 30 '18 23:10 dougli1sqrd