Codeception / Codeception

Full-stack testing PHP framework
http://codeception.com
MIT License
4.75k stars 1.3k forks source link

skip_cleanup_if_failed documentation #6727

Open kellySmi opened 5 months ago

kellySmi commented 5 months ago

I am trying to skip the Db cleanup when a test fails, but there is no documentation on where or how this flag is used, and is mentioned only in the haveInDatabase method.

I have found the documentation so maybe this should be "Fix the search on your documents page"

The DB files are removed after the test fails.

Provide console output if related. Use -vvv mode for more details.

# paste output here

Provide test source code if related

// paste test

Could you please document where and how this option is used?

# paste suite config here
Naktibalda commented 5 months ago

It is mentioned in the list of options at https://codeception.com/docs/modules/Db#Config So it can be set in the same way as other Db options.