You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to provide an additional layer between process and client that would allow to provide additional, common data fixtures that would be available only for a subset of tests, not all of them.
The simplest way would be to make noop fixture optionally dependent on the process fixture.
This would basically do what we have now done (with quite a bit of pain and manual code). We have reused the proc instance, but make a separate db for it.
What would that achieve? Can we then supply some command line arguments to skip the proc instantiation? anyway, we now simply have a branch in the conftest to either instantiate proc or noproc with same name, this works.
What we find now, is that after running tests once with noproc, the next time if fails because the DB is then already there. Would it be an idea to have an optional parameter to noproc to delete the DB if it already exists?
The goal is to provide an additional layer between process and client that would allow to provide additional, common data fixtures that would be available only for a subset of tests, not all of them.
The simplest way would be to make noop fixture optionally dependent on the process fixture.
The text was updated successfully, but these errors were encountered: