TestRunner not finding test suites in project [message #1782267] |
Wed, 21 February 2018 01:14  |
Eclipse User |
|
|
|
I have created a number of projects within an RCPTT directory. Inside a project I have a test suite that I uses to run a set of tests. When the TestRunner scans my project structure, it doesn't pick up any test suites and reports there are no tests to be run. If I add a test to this project, TestRunner finds this and will execute my AUT just using that test. The documentation indicates that I can use a suites parameter, but this still doesn't find anything. Here is a copy of the command line file used to start TestRunner:
echo off
SET AUT=C:\Calypso
SET RUNNER=c:\apps\TestRunner\eclipse
SET PROJECT=C:\DEVROOT\calypso\client\trunk\RCPPT2
SET RESULTS=%PROJECT%\..\results
IF NOT EXIST %RESULTS% GOTO NORESULTS
RMDIR /S /Q %RESULTS%
:NORESULTS
md %RESULTS%
java -jar %RUNNER%/plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar ^
-application org.eclipse.rcptt.runner.headless ^
-data %RESULTS%/runner-workspace/ ^
-aut %AUT% ^
-autArgs -serverAddress;localhost:65000;-data;P:/calypso_uitests/ ^
-import %PROJECT%\AutoTest1;"%PROJECT%\Test Common" ^
-suites StaffProfileTests.suite ^
-autWsPrefix %RESULTS%/aut-workspace ^
-autConsolePrefix %RESULTS%/aut-output ^
-htmlReport %RESULTS%/report.html ^
-junitReport %RESULTS%/report.xml
AutoTest1 is the project the contains the suite that I want to run, Test Common is a project that holds procedure libraries.
Does anyone know how to use test suites properly in the TestRunner?Thanks in advance.
[Updated on: Wed, 21 February 2018 17:57] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29289 seconds