Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip_cleanup_if_failed documentation #6727

Open
kellySmi opened this issue Jan 19, 2024 · 1 comment
Open

skip_cleanup_if_failed documentation #6727

kellySmi opened this issue Jan 19, 2024 · 1 comment

Comments

@kellySmi
Copy link

kellySmi commented Jan 19, 2024

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?

  • Codeception version: 5
  • PHP Version: 8.1
  • Operating System: Mac OS 14.2.1
  • Installation type: Composer
  • List of installed packages (composer show)
  • Suite configuration:
# paste suite config here
@kellySmi kellySmi changed the title skip_cleanup_if_failed documentaion skip_cleanup_if_failed documentation Jan 19, 2024
@Naktibalda
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants