About
This step-by-step tutorial explains how to create a BDD test by using the Cucumber framework and TestLeft.
To learn what BDD is, see About Behavior-Driven Development.
Technologies Used
In this tutorial, we will use –
-
The JetBrains IntelliJ IDEA IDE running under the Windows operating system. You can also use any other Java IDE (for example, Eclipse or NetBeans).
In general, to create TestLeft tests, you can use any Java IDE running under any operating system. However, only on the Windows operating systems you can –
-
Run the created TestLeft tests.
-
Use TestLeft UI Spy to explore the object hierarchy of your tested applications.
-
-
The Cucumber framework. To learn more about Cucumber, see https://cucumber.io/.
Although, you can use TestLeft with any BDD framework, you may be unable to go through this tutorial if you use some other framework. If you want to use the JBehave framework, see Your First JBehave Test With TestLeft.
-
A Maven project. To learn more about Maven, see https://maven.apache.org/.
If you do not use Maven, see the Cucumber documentation to learn how to add Cucumber libraries to your project.
-
The JUnit test framework to run the created Cucumber test. If you use another test runner, Cucumber may need different libraries added to the project. See the Cucumber documentation.
-
The standard Windows Notepad application as the tested application.
Test Steps
See Also
Behavior-Driven Development
About Behavior-Driven Development