Welcome Guest, Not a member yet? Register   Sign In
Running test on existing database?
#3

If this were me I would generate a SQLite3 database from the data to test (since it is a flat file) and then copy it in or `git restore` (depending on your CI\CD) the database between classes or tests (again, depends on what your tests modify). If your database is on another platform there are some slick conversion tools like https://github.com/dumblob/mysql2sqlite to get it into SQLite3 format quickly.
Reply


Messages In This Thread
Running test on existing database? - by tgix - 01-14-2022, 08:13 AM
RE: Running test on existing database? - by MGatner - 01-17-2022, 06:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB