Skip to content

Commit

Permalink
Redirect IDEA plugin to JetBrains documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
juherr authored and krmahadevan committed Feb 18, 2024
1 parent ac85c59 commit 69d563e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions src/main/asciidoc/idea.adoc
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
=== TestNG IDEA Plug-in

image::idea-output.png[]

TestNG is bundled in IDEA

==== Creating a TestNG Run/Debug configuration

Once you have installed the plug-in and restarted IDEA, and have some TestNG classes you would like to run, simply open the Run/Debug window. You will see a TestNG tab, where you can add a configuration.

There are a number of methods for determining the set of tests that will be run. These are:

* *Package*: Specify a package to run. All tests in this package and below will be included.
* *Group*: Specify a TestNG group to run.
* *Suite*: Specify an external testng.xml file to run.
* *Class*: Run all tests in a single class.
* *Method*: Run a single test method.

Once you create the run configuration, you can run it. Upon running, the plug-in will launch an external process to run your tests. The test results will be display in a tree view, with passed and failed tests highlighted. You can narrow down on the console output for a specify test by clicking on it, while double-clicking a test will navigate to its source code.

image::idea-rundialog.png[]
See https://www.jetbrains.com/help/idea/testng.html[the documentation] at JetBrains for more information.
Binary file removed src/main/asciidoc/pics/idea-output.png
Binary file not shown.
Binary file removed src/main/asciidoc/pics/idea-rundialog.png
Binary file not shown.

0 comments on commit 69d563e

Please sign in to comment.