Your First JBehave Test With TestLeft

Applies to TestLeft 15.40, last modified on March 17, 2022

About

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.

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 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.

Test Steps

Start

See Also

Behavior-Driven Development
About Behavior-Driven Development

Highlight search results