Hello, I've build an application which depends on a library.
The tests in the application also depends on the test which are in the
library (they are implementation of abstract tests)
when I run mvn test I get an error message saying that nunit-console failed:
[INFO] ** (/usr/lib/nunit/nunit-console.exe:3579): WARNING **: The
following assembly referenced from
/home/yelo3/EsameIS/RemotingNetworkServices/target/test-assemblies/RemotingNetworkServices-1.0-test.dll
could not be loaded:
the test compiles, so the pom.xml is correct for compilation,
the problem is that nunit-console needs the mylib-1.0-test.dll in the path:
in fact in the directory test-assemblies there is only mylib-1.0.dll
how can I format pom.xml to copy the test assemblies of the mylib
dependency in test-assemblies?
I have this:
<dependency>
<groupId>it.unibo.deis.EsameIS</groupId>
<artifactId>MyLib</artifactId>
<version>1.0</version>
<classifier>test</classifier>
<scope>test</scope>
<type>dotnet:library</type>
</dependency>
Thanks