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

Ability to use SerenityRest from a plain JUnit runner #695

Closed
marcin-caban opened this issue Feb 20, 2017 · 1 comment
Closed

Ability to use SerenityRest from a plain JUnit runner #695

marcin-caban opened this issue Feb 20, 2017 · 1 comment

Comments

@marcin-caban
Copy link
Contributor

To be able to share test code between Serenity tests (e.g. these run with CucumberWithSerenity) and plain JUnit tests (e.g. run with BlockJUnit4ClassRunner) I want to be able to use SerenityRest without a proper setup of Serenity, particularly without BaseStepListener registered.

Some people prefer to skip the Gherkin layer and also all the complexity of Serenity for tests which are not originated from stories and examples delivered by product owners. By using SerenityRest instead of Rest Assured they can deliver steps definitions which can be shared between plain JUnit tests and Serenity tests.

SerenityRunner cannot be used for another reason.

wakaleo added a commit that referenced this issue Feb 23, 2017
…in-junit-runner

Ability to use SerenityRest from a plain JUnit runner, issue #695
@wakaleo
Copy link
Member

wakaleo commented Feb 28, 2017

Included in 1.2.3-rc.5

@wakaleo wakaleo closed this as completed Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants