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

Support for input in freestyle format #5

Merged
merged 6 commits into from
Oct 26, 2018
Merged

Conversation

cpressey
Copy link
Member

This applies the patch from #3 and adds tests and documentation. @j4james you might want to take a look at it.

One thing the patch does not do, is support blocks that start with an input section. The semantics for this, in the traditional format, is to re-use the previous tests' test body (and just run it again with different input.) Implementing this with freestyle format probably means adding an extra test somewhere else in the code where it handles this case, but instead of looking for that place and doing that, I just left that combination as unsupported for now (it's not a huge burden, usually; you can just copy and paste test bodies multiple times in your document instead; and it can be always be added later.)

@j4james
Copy link

j4james commented Oct 25, 2018

Ah, I wasn't aware of that test body re-use feature - I might take a look at that one day if I'm feeling enthusiastic. Otherwise this looks good to me.

@cpressey cpressey merged commit 78c7399 into develop-0.12 Oct 26, 2018
@cpressey cpressey deleted the freestyle-input branch October 31, 2018 09:10
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