Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added help docs for junit plugin, and add docs about the maven test g…
…oal.
- Loading branch information
Showing
9 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
### JUnit | ||
|
||
The [JUnit](#/junit/tests/) plugin in [hawtio](http://hawt.io "hawtio") gives a raw view of the underlying JMX metric data, allowing access to the entire JMX domain tree of MBeans. | ||
|
||
##### JUnit Tree ##### | ||
|
||
The topmost level of the JUnit tree view lists all the JUnit @Test classed currently within the running JVM. | ||
|
||
![JUnit Tree](app/junit/doc/img/junit-tree.png "JUnit Tree") | ||
|
||
Click the <i class='icon-chevron-right'></i> icon to expand a tree item and further navigate into Java packages. | ||
|
||
|
||
##### Testing ##### | ||
|
||
On the main view area is a table that lists all the unit test classes from the selected Java package in the JUnit Tree (will list all test classes by default). | ||
|
||
![JUnit Tests](app/junit/doc/img/junit-tests.png "JUnit Tests") | ||
|
||
You can select any number of unit test classes to run as unit tests. | ||
|
||
During testing there is a test summary which reports the progress. | ||
|
||
![JUnit Testing](app/junit/doc/img/junit-testing.png "JUnit Testing") | ||
|
||
.. and when the tests finishes the failed tests is listed, which can be expanded, to see any stacktrace with the failure. | ||
|
||
|
||
##### Other Functionality ##### | ||
|
||
The [JUnit](#/junit/) can be used together with the [Test Maven Plugin](http://hawt.io/maven/) which can be used to startup | ||
the hawtio console of a given Maven project, with unit test classes included in the classpath, allowing the [JUnit](#/junit/) | ||
to be used to start the tests, while using the rest of the functionality of hawtio to inspect live data while the test runs. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: hawtio JUnit plugin | ||
--- pipeline:ssp,markdown | ||
<div id="content-header"> | ||
<div class="container"> | ||
${unescape(loadText(new FileInputStream(app_dir + "/junit/doc/help.md")))} | ||
|
||
</div> | ||
</div> |