...
- Runs all tests that match the operation property and its value.
tags
- Runs tests saved as "tags."
- One implicit tag name is available - "
last
." It will rerun the last test you ran.
All other tags are named by the user using the tag
command. - Five qualifiers exist. They will filter which tests you want to run.
all
success
fail
error
failError
...
Section |
---|
Column |
---|
| Code Block |
---|
| mvn test -Detlunit-test=%myPackageName |
Code Block |
---|
| mvn test -Detlunit-test=@myClassName |
Code Block |
---|
| mvn test -Detlunit-test=#myMethodName |
Code Block |
---|
| mvn test -Detlunit-test=%myPackageName@myClassName#myMethodName |
Code Block |
---|
| mvn test -Detlunit-test="%myPackageName@myClassName#|myMethodName|" |
|
|
Go to top
References
Test Specification Reference
test Command
TagsTags
The Test Class