Show/Hide Toolbars

Unit Test Framework Manual

Navigation: Examples

Sample Command File for Executing Multiple Tests

Scroll Prev Top Next More

 

REM ---------------------------------------------------------------------------

REM

REM Command:  sample.bat

REM Author:   W. Shaffer

REM Date:     19-Dec-2011 

REM Descrption:

REM

REM    This file is an example of how to run test suites from outside of 

REM    Guidewire Studio.  

REM

REM    Note: it will not successfully execute tests unless you change the 

REM    the testsuite and reports to valid values for your site.

REM

REM ---------------------------------------------------------------------------

ECHO ON

call runtest -testsuite uig.unittestcase.SampleTestCase1 -reports \proj\coverage\report1.txt

ECHO OFF

if errorlevel 1 echo "Suite did not run"

ECHO ON

call runtest -testsuite uig.unittestcase.SampleTestCase2 -reports \proj\coverage\report2.txt

ECHO OFF

if errorlevel 1 echo "Suite did not run"