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

generators don't work in sections #21

Closed
philsquared opened this issue Apr 7, 2011 · 2 comments
Closed

generators don't work in sections #21

philsquared opened this issue Apr 7, 2011 · 2 comments

Comments

@philsquared
Copy link
Collaborator

Title says it all.
A generator within a section only seems to "generate" its first value. I suspect this is because generators and sections both cause test_cases to rerun - and section reruns presumably trump generator reruns.

@lilith
Copy link

lilith commented Mar 19, 2015

Generators are pretty useful. Any plans for this?

@philsquared
Copy link
Collaborator Author

The unfinished, undocumented, generators implementation in current Catch is deprecated.
Generators will be a feature of Catch2, taking advantage of C++11 features.
The groundwork for interop with Section tracking has already been laid, but the direction I want to take generators in is going to be much easier - and more powerful - with C++11.
So I'm going to close this ticket now.

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