"""error: module testng reads package test from both test and testng"""
    Martin Buchholz 
    martinrb at google.com
       
    Tue Aug 22 21:55:52 UTC 2017
    
    
  
On Tue, Aug 22, 2017 at 12:38 PM, mandy chung <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.
    
    
More information about the jigsaw-dev
mailing list