some questions for TestNG support in Jtreg
patrick zhang
patrick.zhang at oracle.com
Wed Aug 21 03:47:31 PDT 2013
Hi List,
I have some functional tests based on TestNG, the dir structure looks like:
==========
a1/b1/Test1.java
a2/b2/Test2.java
a3/b3/Test3.java
==========
For Test1.java and Test2.java, they are located in "a1.b1" or "a2.b2"
package really.
But for Test3.java, it is in default package. Here a3/b3 is only simple
source directory.
As you know, we can use TEST.properties to declare source root like below:
=======
//it can be referenced to Test1 and Test2. Fail to get Test3.
TestNG.dirs = .
=======
or
=======
//it can be referenced to Test3. Fail to get Test1 and Test2.
TestNG.dirs = a3/b3
=======
My question is how I can reference to Test1, Test2 and Test3 at same
time? It looks "TestNG.dirs = .;a3/b3" or "TestNG.dirs = . a3/b3" does
not work.
FYI,
For some reason I want to keep all structure hierarchy. And I do not
want to move Test.java into a3.b3 package. Could it be resolved through
TEST.properties directly?
Regards
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20130821/ec84267a/attachment.html
More information about the jtreg-use
mailing list