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

Skipping tests confusion #348

Open
konsumate opened this issue Oct 4, 2019 · 0 comments
Open

Skipping tests confusion #348

konsumate opened this issue Oct 4, 2019 · 0 comments

Comments

@konsumate
Copy link

The documentation for nar-test [1] describes that the flag "skipTests" "Skip the tests." chimes in with maven's generic maven.test.skip parameter.

This behaviour is quite confusing, because in the maven test documentation [2 it says]:

  • skipTests only skips running/executing the tests
  • maven.test.skip skips compiling the tests

To have same behaviour aligned, nar-test would need to:

  • skip running the tests when skipTests is given
  • skip compiling the tests when maven.test.skip is given

Currently, both modes are intermixed in the maven nar plugin

1: http://maven-nar.github.io/nar-test-mojo.html
2: https://maven.apache.org/plugins-archives/maven-surefire-plugin-2.12.4/examples/skipping-test.html

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

1 participant