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

You can turn off migrations and seeders.
https://codeigniter.com/user_guide/testi...-and-seeds
$migrate
$seed

But if you changes the database data in your testing, you have to restore all the changed data after test executions.
If not, next time you run the test, it may fail.
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 kenjis - 01-14-2022, 04:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB