I am trying to run a DbUnit test using SilkCentral on a remote virtual machine that acts as the execution server. The .class that I want to run is in the \p6621va\ucd\ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests\AllTests.class
directory and contains the test suite which in turn contains all the tests I want to run.
The first thing I need is to create a 'Source Control Profile', which I have defined it in the following way:
UNC path: \p6624va\UCD
Working folder: c:\SilkTempSource
According to the documentation I must specify in 'UNC path' the absolute path in the virtual machine (this path is shared and I have checked access to it remotely from my computer). In addition, a local path must be specified in 'Working folder' in which the execution server will copy the source files.
Source Control Profile: link
The next step is to create the 'Test Container' and associate the 'Source control profile' previously created:
In 'Root node' I'm not sure which route I should specify. According to the documentation, the execution server retrieves the source files of the tests included in the container from the 'Source control profile'. The root node of the 'Source control profile' is set to the root node of the 'Test container'.
Test container: link
Finally, I create a test associated with the newly created 'Test container' and define its properties:
In the Classpath you must specify the path relative to the working folder defined in the 'Source Control Profile'
Classpath: ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests
Test properties: link
The problem that returns me is the following:
com.segue.tm.plugins.testlaunch.junit.ju4support.AllTests (0 Failures, 1 Errors, 0 Warnings)
Detected java version "1.8.0_60".
initializationError (0 Failures, 1 Errors, 0 Warnings)
Error - No testclasses found in classpath c:\SilkTempSource\ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests
java.lang.ClassNotFoundException: No testclasses found in classpath c:\SilkTempSource\ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
~AllTests#initializationError: No testclasses found in classpath c:\SilkTempSource\ucdmain_TEST\bin\es\bde\aps\ucdmain\ias\tests
So I understand that the copy of the source files to the local path from the UNC path: \p6624va\UCD
to the working folder: c:\SilkTempSource
declared in the 'Source Control Profile' is not being done well.
At the moment I do not specify a 'Test class' since the error is in the access to the route.
I appreciate any input, thank you very much.