This step-by-step tutorial explains how to create a BDD test by using the JBehave framework and TestLeft.
To learn what BDD is, see About Behavior-Driven Development.
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 system you can –
Run the created TestLeft tests.
Use TestLeft UI Spy to explore the object hierarchy of your tested applications.
The JBehave framework. To learn more about JBehave, see http://jbehave.org/.
Although you can use TestLeft with any BDD framework, you may be unable to go through this tutorial, since other frameworks may differ from the one we use. If you want to use the JBehave framework, see Your First Cucumber Test With TestLeft.
A Maven project. To learn more about Maven, see https://maven.apache.org/.
If you do not use Maven, see JBehave documentation to learn how to add its libraries to your project.
The standard Windows Notepad application as the tested application.