Running a test suite from Studio

To run a test suite from Studio, navigate to the directory that contains the test suite class (such as gtest/gw/suites). Then, right-click the class and select Run '<suite>'.

Important: There is a known issue with Behavior Testing Framework 10.0.1. If there is a running test server and you run a test suite, the test suite is not able to run properly and Behavior Testing Framework throws an ArrayOutOfBounds exception. As a workaround, stop the test server before running a test suite.

The test results tab

When you run scenarios from Studio, Studio opens a testing tab at the bottom of the Studio interface. The test results appear on this tab.

The left pane shows test results in a hierarchical format.

  • If all scenarios pass, a green check mark icon with an "All Tests Passed" label appears.
  • If one or more scenarios fail, a yellow "X" icon with a "Test Results" label appears.

From these icons, you can drill down to get more explicit information on the scenarios that passed and failed.

The right pane shows console output generated during the running of the test. This output includes the number of scenarios that passed and failed. If there are any failures, additional information may appear to help identify the cause of the failure, such as exceptions and stack traces.