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

Creation of parameters after fixture wrapper execution #125

Closed
carl-berg opened this issue Nov 12, 2015 · 3 comments
Closed

Creation of parameters after fixture wrapper execution #125

carl-berg opened this issue Nov 12, 2015 · 3 comments

Comments

@carl-berg
Copy link

Hi,

I've been wrestling a bit with Fixie trying to get it to do what i want it to do.

I am currently running some integration tests and would like to create some instances during startup once for the entire test project (an NHibernate session factory for instance) and then during parameter loading for each test method, be able to use those entities but it seems that parameter loading happens before the Fixture Execution wrapping. Is there any way to accomplish this or is there a better way to do this?

@plioi
Copy link
Contributor

plioi commented Nov 12, 2015

You're right that parameter resolution is happening far too early in the pipeline. It's part of what Pedro is bumping into here in #96. It definitely needs to change. I'll take a closer look in the next 48 hours, to decide whether it can safely be treated as a bug fix against 1.x or whether it has to be treated as a breaking change for 2.x.

@carl-berg
Copy link
Author

Nice. If it's something i can help out with (without having an intimate knowledge of the codebase) I'd be glad to help out (test cases or whatever).

@plioi
Copy link
Contributor

plioi commented Jul 30, 2021

5 and a half years later, Fixie 3's API addresses the fundamental flaws in this old design. Closing this due to age and the fact that the version 3 API should give everyone sufficient control over parameterization now.

@plioi plioi closed this as completed Jul 30, 2021
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