How to write automated tests using Cucumber (2/7)

Photo by Natalie Rhea Riggs — Unsplash
Branches represent tool on different steps of readiness, according to the articles list.

Software requirements

Cucumber plugin for the IntelijIdea

Project setup

Select menu New — Project
Select Maven and press Next

Dependencies configuration

Cick Reimport button

Package structure

Created packages

TestNg runner

Catalog with the test configuration

host=https://dev.example.com" to the dev.properties;
host=https://qa.example.com to the qa.properties;
host=https://example.com to the prod.properties;

Test Configuration class and Run configuration

Test Initialization

First feature file

Add glue code

Execute the tests

--

--

--

Test automation engineer, writer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Labels From Microsoft Word Mac

The Ultimate Guide to Contributing to Open Source

Kubernetes Architecture: An Overview

Are you ready for html filing?

CREATING ANSIBLE ROLE TO CONFIGURE HTTPD SERVER AND HAProxy LOAD BALANCER

Cyber Apocalypse 2021 | Alien Camp write-up (Socket Programming)

Which Data Migration Tools to use when switching CRM platforms

Wait…. What is OSGi?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Artur Mishustin

Artur Mishustin

Test automation engineer, writer

More from Medium

Overcome Your Test Data Challenges With Virtual Services

How Automation Testing Can Help Simplify Business Processes?

Top 5 test management solutions for Banking

5 test management solutions for Banking

We Test Software, But How?