Skip to content

Commit

Permalink
Fix misspelt cli args name
Browse files Browse the repository at this point in the history
  • Loading branch information
krmahadevan committed Mar 9, 2024
1 parent f5b9e53 commit d1051d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/asciidoc/docs/running_testng.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ java org.testng.TestNG -groups windows,linux -testclass org.test.MyTest

The ant task and `testng.xml` allow you to launch TestNG with more parameters (methods to include, specifying parameters, etc...), so you should consider using the command line only when you are trying to learn about TestNG and you want to get up and running quickly.

TIP: The command line flags that specify what tests should be run will be ignored if you also specify a testng.xml file, with the exception of `-includedgroups` and `-excludedgroups`, which will override all the group inclusions/exclusions found in `testng.xml`.
TIP: The command line flags that specify what tests should be run will be ignored if you also specify a testng.xml file, with the exception of `-groups` and `-excludegroups`, which will override all the group inclusions/exclusions found in `testng.xml`.

==== Running tests from within a test jar

Expand Down

0 comments on commit d1051d5

Please sign in to comment.