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

Replace return with yield when docComments returns Generator #66

Merged
merged 1 commit into from
Oct 30, 2015

Conversation

stefandoorn
Copy link
Contributor

After implementing AspectMock to make some nicer tests in part of my suite, other part of my suite started to fail due to using Generators. After searching through the issues (#50) was poking around a bit in the code to find a solution. This does work for me, but you need to make sure the DocComment is properly formatted.

There might be a better solution, by really inspecting the method signature, but I couldn't find out so quickly how that should be done. If anyone has a hint, feel free to help me on the right track. Else this could be an option to merge.

@DavertMik
Copy link
Member

Thanks, looks like the best option for now

DavertMik added a commit that referenced this pull request Oct 30, 2015
Replace return with yield when docComments returns Generator
@DavertMik DavertMik merged commit 3b7e8ed into Codeception:master Oct 30, 2015
@titanrat titanrat mentioned this pull request Nov 1, 2017
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

Successfully merging this pull request may close these issues.

2 participants