Test using Cucumber

  • Introduction

  • Sample Test Result File

  • Story Association

  • Test Case Reusability

  • Execution Attachment

  • Using Background Keyword

Introduction

Cucumber is one of the tools for running automated tests. It combines business specification and test documentation into one – which results in the executable specification. This collaboration encourages teams to keep their organization’s business goals at the center.

Automated testing through Cucumber helps teams avoid heavy regressions and resultant costs.

Here is how you can specify the Test Cases and Test Steps that will be created in QMetry as a part of the result files -

Test Case Tag

Test Step Tag

elements > name

elements > steps > name

Supported Cucumber Version: 1.2.5

Supported file types: JSON, XML

The following feature file shows the syntax for story association and test case reusability.

hereto download a Sample Test Result File.

Publication date: