Running feature files from Studio

From Studio, you can run scenarios and feature files on demand. This is useful when you want to ensure a newly written scenario or feature file is working as expected. When appropriate, you can also run all of the feature files in a single directory.

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.