Running a Test Case Using a Runtime Environment
You can run a test case using a runtime environment.
- Procedure
- Go to the activity bar and click the Testing action item (
).
- Make sure the
.flogotest
file is open. - To select a runtime environment, click the dropdown icon next to the Run Tests icon (
). You can select either Local Runtime, TIBCO Platform, or TIBCO Cloud™ Integration (TCI).
The default profile is Local Runtime. To change the default profile, select Select Default Profile from the dropdown menu and select the profile that needs to be made the default.
For more information on configuring these profiles, see Configuring the Runtime. - Click the Run Tests icon (
) to run the test with the selected environment.
After the test case run is completed, the result is generated.
The test results are displayed on the terminal with the total number of test cases, which include the number of passed and failed test cases. It also displays the total number of assertions and the number of passed and failed assertions on activities in the flow, activities in the error handler, and in the flow output. The result for assertions on the flow output is displayed only if the assertion is added to the flow output.