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

Add support for templated scenarios #87

Merged
merged 2 commits into from
Sep 4, 2017

Conversation

Lectem
Copy link
Contributor

@Lectem Lectem commented Aug 23, 2017

Description

There is no macro for templated scenarios, this commit adds SCENARIO_TEMPLATE which in turn calls TEST_CASE_TEMPLATE as done with SCENARIO.

As I created this PR, I was also wondering if the BDD macros actually worked with DOCTEST_CONFIG_NO_SHORT_MACRO_NAMES since it uses the short macro names and not the ones with the DOCTEST_ prefix.
If needed I will update and fix the BDD macros to use the DOCTEST_* variants.

@Lectem Lectem changed the title git Add support for templated scenarios Add support for templated scenarios Aug 23, 2017
@onqtam
Copy link
Member

onqtam commented Aug 23, 2017

Thanks - I'll review this in a couple of days.

@Lectem
Copy link
Contributor Author

Lectem commented Aug 23, 2017

No problem ! Just added a commit so that it is shown in the documentation.

@onqtam onqtam merged commit c8c3a0e into doctest:dev Sep 4, 2017
onqtam pushed a commit that referenced this pull request Sep 5, 2017
* Add support for templated scenarios

* Add SCENARIO_TEMPLATE to the documentation
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