Skip to content

speed up test suite by re-using schema across tests

Dan Crosta requested to merge faster-db-tests into master

Split the app fixture into a session-scoped fixture (which creates the tables, then drops them after testing is over) and a default/test-scoped fixture which cleans the data out of all tables.

On my machine the suite runs in about 3.5 seconds now vs. 12-13 the old way.

Merge request reports