You can't do that via ant with the current framework. The only way to
do it is to go into the test class and edit the runTests method to
comment out all of the individual tests that you don't want to run.
Too bad, but this isn't junit.
Tom
On 8/13/2010 1:21 PM, Bobby Bissett wrote:
> Howdy,
>
> How do I run a single admin test? http://wikis.sun.com/display/GlassFish/AdminTests has an example, but I don't know how to specify the test name (or the example command is wrong).
>
> I can run just, eg., the node tests with:
>
> ant -emacs -Dteststorun=node all
>
> But if I want to only run the node-create-cluster test, I can't get it to work. Have tried several combinations of test name and group name without success. Simple attempt:
>
> BUILD FAILED
> /Users/bobby/work/ws/gf/v2/appserv-tests/devtests/admin/cli/build.xml:209: The following error occurred while executing this line:
> Target "node-create-cluster" does not exist in the project "admin".
>
> Any help?
>
> Thanks,
> Bobby
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>