Fwd: IntelliJ plugin for running jtreg tests

Staffan Larsen staffan.larsen at oracle.com
Thu Oct 27 19:21:58 UTC 2016


Interesting if you use IntelliJ.

> Begin forwarded message:
> 
> From: Maurizio Cimadamore <maurizio.cimadamore at oracle.com>
> Subject: IntelliJ plugin for running jtreg tests
> Date: 27 October 2016 at 20:28:23 GMT+2
> To: jtreg-dev at openjdk.java.net, jtreg-use at openjdk.java.net
> 
> Hi,
> As you might have noted, Jon has recently pushed [1] the initial version of the IntelliJ jtreg plugin that Chris and I have been working hard to put together. This plugin allows you to run jtreg tests without leaving the IDE. As tests are executed, a green/red progress bar is displayed (similar to standard junit test support). Test output (jtr files) can also be recovered within the IDE. There are a number of options that can be configured when running tests - some global, some test-specific - this should allow you to fine tune jtreg execution to reproduce the combination of settings that you use today.
> 
> In addition to test execution, this plugin also allows you to debug tests, which is a feature I find very handy for complex tests.
> 
> Finally, this plugin interacts with the way in which IntelliJ discovers sources in your project - so with the plugin enabled, IntelliJ can 'understand' the sourcepath of a test, which will eliminate all the red squiggly lines from your tests.
> 
> For a more detailed documentation of the plugin functionalities, as well as to how to build and install the plugin, please refer to this document [2].
> 
> Happy testing
> Maurizio
> 
> [1] - http://hg.openjdk.java.net/code-tools/jtreg/rev/b106e5bbe2e0
> [2] - http://hg.openjdk.java.net/code-tools/jtreg/file/b106e5bbe2e0/plugins/idea/README.md
> 
> 
> 
> 
> 



More information about the hotspot-dev mailing list