Using the TestRunner Application
The unit testing application, named TestRunner, is installed with Studio. You can run TestRunner from within Studio or as a stand-alone application.
In Studio, select Project > Run Unit Tests.
Studio builds the project and launches the project in Runtime. The
Unit Tests window is displayed.
Close the Unit Tests window to close Runtime and return to the Studio Designer.
Using the stand-alone TestRunner application
TestRunner executes test automations in deployment package files (.openspan assembly). Before running TestRunner, create a deployment package for the project you want to use. Follow these steps to run test automations via the TestRunner application.
Go to your Studio installation folder. Typically, this will be in the following folder:
C:\Program Files (x86)\OpenSpan\OpenSpan Studio for Microsoft Visual Studio 2015\
Open the \Applications folder and locate the OpenSpan.TestRunner.exe file.
Double-click the OpenSpan.TestRunner.exe file. The TestRunner window is displayed.
Select File > Open Package or click the Open Package button.
Go to the .openspan file for the project you
want to test. TestRunner loads the tests automations and launches
the adapter applications. Here is an example:
Click the Run Tests button. TestRunner runs the test automations in the project and returns the results. Here are some example results.
Test failed!
Account not created (not
matched w/in timeout)
Test successful! MDIParent Created (matched)
Test successful! New Call Window Created (matched)
To save the results, select Tools > Save Test Results. TestRunner opens the Save window. Select the location to save the file. The results are saved in XML format.
Related information
Running Unit Tests from Studio
Using the TestRunner Console Application
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.