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

Feature request: Split test-execution phase and verify phase #62

Open
MariusSchmidt opened this issue Apr 21, 2020 · 1 comment
Open

Comments

@MariusSchmidt
Copy link

MariusSchmidt commented Apr 21, 2020

Hi again,

this is a feature request. Naturally BDD style testing will often be implemented as some kind of integration testing, maybe even black box end to end testing, as we use it. Therefore, tests might run in Mavens integration-test phase against systems started in pre-integration and teared-down in post-integration, e.g. docker containers. It is imperative, that the maven process reaches the post-integration phase at all cost to tear-down properly as also outlined in https://maven.apache.org/surefire/maven-failsafe-plugin/index.html.

Even when using the validate check upfront, it would be lovely, to somehow split the gauge-maven-plugin test execution into a test and a verify phase as the failsafe plugin does it. So even runtime errors (lot's of stuff can go wrong, e.g. classpath problems) would still allow a proper post-integration teardown.

@MariusSchmidt MariusSchmidt changed the title Split test-execution phase and verify phase Feature request: Do not fail the Maven build for a failed test Apr 21, 2020
@MariusSchmidt MariusSchmidt changed the title Feature request: Do not fail the Maven build for a failed test Feature request: Split test-execution phase and verify phase Apr 21, 2020
@sriv
Copy link
Contributor

sriv commented Jun 29, 2020

Thanks - this is a good idea.

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