scoreboard icon indicating copy to clipboard operation
scoreboard copied to clipboard

Test efficiency

Open jvntf opened this issue 5 years ago • 2 comments

The test suite is arguably not efficient. It runs seeds before most if not all tests. I suppose this is good for running individual tests but maybe it should just be run once when running the suite? not sure if theres a best practice to follow here.

cc @guidorice @necoline

jvntf avatar Oct 15 '20 13:10 jvntf

👍

Sometimes it's preferable to be able to run a single test from the command line, especially in development. Ideally each test would be able to detect whether the seed data has been loaded, or not, and do the right thing. It seems like the best practice / best implementation here is less clear because of using both ava and jest for test runners.

guidorice avatar Oct 15 '20 14:10 guidorice

tests still time out sometimes.

jvntf avatar Oct 23 '20 14:10 jvntf