"""error: module testng reads package test from both test and testng"""

mandy chung mandy.chung at oracle.com
Tue Aug 22 22:05:33 UTC 2017



On 8/22/17 2:55 PM, Martin Buchholz wrote:
>
>
> On Tue, Aug 22, 2017 at 12:38 PM, mandy chung <mandy.chung at oracle.com 
> <mailto:mandy.chung at oracle.com>> wrote:
>
>     Does your testng.jar contain classes of package "test"?   I
>     downloaded testng from maven which does not have the package "test".
>
>
> Sorry, I missed that question.  Yes, for historical reasons we are 
> using testng 6.9.8, and I see:
>
>   $ ( wget -qOtestng.jar 
> https://search.maven.org/remotecontent?filepath=org/testng/testng/6.9.8/testng-6.9.8.jar 
> && jar tf testng.jar | grep '^test/[^/]*.class$' | tail; rm testng.jar)
> test/ReturnValueTest.class
> test/SampleInheritance.class
> test/SerializationTest.class
> test/SimpleBaseTest.class
> test/StaticTest$InnerStaticClass.class
> test/StaticTest.class
> test/Test1.class
> test/Test2.class
> test/TestHelper.class
> test/TestListener.class
>
> Including test/ is probably a packaging mistake.
Probably.  test package is not in 6.9.5 and 6.11 which I checked.

Mandy


More information about the jigsaw-dev mailing list