IntelliJ plugin for running jtreg tests
Roger Riggs
Roger.Riggs at Oracle.com
Fri Oct 28 16:12:07 UTC 2016
Hi Maurizio,
I've had a spot of trouble with this.
For me the Make Project and Prepare Plugin Module steps created a jar file
with only the plugin.xml and the manifest. No implementation classes of
the plugin.
(I have moved my IdeaIC/system directory due to space shortages by
changing the idea.system.path in bin/idea.properties).
2nd when I manually created the jar file from the classes and manifest
items,
it installed ok but the Settings... jtreg panel just hangs trying to
initialize.
Is there a way to see the log of the steps it uses to create the artifacts?
That might shed some light on the misconfiguation I suffer from.
Roger
On 10/27/2016 2:28 PM, Maurizio Cimadamore wrote:
> 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 jtreg-dev
mailing list