Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The argument is generally, but not always (look at the tag syntax) case insensitive.

Types of Tests

...

  • 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.
    1. all
    2. success
    3. fail
    4. error
    5. failError

...

Section
Column
width25px

 

Column
width600px
Code Block
languagebash
themeRDark
mvn test -Detlunit-test=%myPackageName
Code Block
languagebash
themeRDark
mvn test -Detlunit-test=@myClassName
Code Block
languagebash
themeRDark
mvn test -Detlunit-test=#myMethodName
Code Block
languagebash
themeRDark
mvn test -Detlunit-test=%myPackageName@myClassName#myMethodName
Code Block
languagebash
themeRDark
mvn test -Detlunit-test="%myPackageName@myClassName#|myMethodName|"
Column

 

Go to top

References

 Test Specification Reference

test Command

TagsTags

The Test Class