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

How to override included ymls DB #1266

Closed
dynasource opened this issue Aug 3, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@dynasource
Copy link
Contributor

commented Aug 3, 2014

I am sorry to bother you again.

I am running a testsuite with included testsuites (with the include param in codeception.yml)

Is there a way to override the Db in the included codeception.ymls?

The problem is that:

  • the main app has its own DB Mysql settings
  • the included testsuites have their own Sqlite Db setting

Running the included testsuites should use the parent testsuites DB.

I have found a solution by creating a codeception_app.yml for each included testsuite, but is this the way to go?

@dynasource

This comment has been minimized.

Copy link
Contributor Author

commented Aug 3, 2014

I've found out that using the --env satisfies my need.
For the main app I don't use a --env and for the included testsuites, I put the DB setting under an Env config.

This issue can be closed.

@DavertMik DavertMik closed this Aug 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.