Forum

Stay updated with latest on Boozang

Forum Navigation
You need to log in to create posts and topics.

Simple Cucumber example

Here is a basic example of a Cucumber feature file with scenarios for Login and Logout. 

#####
 
@Authentication
Feature: Authentication

The authentication features tests login and logout for different users.

@Smoke @Authentication @Login
Scenario: Login
"""
Tests login functionality.
"""

Given I am logged out
When I login
Then I should be logged in
 

@Smoke @Authentication @Logout
Scenario: Logout
"""
Tests logout functionality.
"""

Given I am logged in
When I logout
Then I should be logged out

 

Try Boozang today

Codeless testing that works. No credit card or commitment required.

Boozang
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.