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

Multi-process test run #12

Open
fjarri opened this issue Jul 30, 2017 · 1 comment
Open

Multi-process test run #12

fjarri opened this issue Jul 30, 2017 · 1 comment
Milestone

Comments

@fjarri
Copy link
Owner

fjarri commented Jul 30, 2017

It would be nice to have an ability to run testcases in parallel. We have a list of tests ready, and we know all their dependencies, so it should be doable.

One problem here is that we cannot pass functions between processes, so each process will have to perform its own test file loading. After that, tests can be identified by their path. Fixture values can be identified by their indices, so we do not have to pass them either.

The interaction of this feature with exclusive fixtures (issue #11) will, probably, be pretty awkward.

@fjarri fjarri added this to the v0.1.0 milestone Jul 30, 2017
@fjarri
Copy link
Owner Author

fjarri commented Sep 8, 2017

With the commit 42072f8, global fixtures produce exactly one value per combination of parameters, so it is now possible to tell exactly how many combinations of parameters a testcase has, and which global fixture values are being used. This makes it possible to run the same testcase with different parameter combinations on different processes, and avoid instantiating the same global fixture on different processes.

@fjarri fjarri modified the milestones: v0.2.0, v0.1.0 Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant