• TestingDocs
TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

JBehave

Serenity Maven Artifacts

JBehave

Overview

In this post, let’s look at some of the Serenity maven artifacts useful in automation projects based out of Serenity, JBehave, and Maven combination. These artifacts are typically added to the pom.xml file of your project.

General steps are:
Add the dependencies to the automation project i.e pom.xml or build.gradle.
Update your project.

Serenity core:

Serenity core consists of core libraries and utility classes that provide services to initialize web testing and reporting-related fields. These classes are designed to help integrate Serenity into other testing tools such as Rest-Assured, Cucumber, etc.

Maven repository

https://mvnrepository.com/artifact/net.serenity-bdd/serenity-core/

serenity-junit is used for Serenity JUnit integration.

serenity-jbehave is used for Serenity JBehave integration. For example, class like SerenityStories that runs the JBehave stories, getting the class loader to obtain the JBehave and Step implementation classes etc.

serenity-jira-plugin is used for Serenity Jira integration. Some use cases that you might want to link jira issues in the Serenity reports. Adding comments on a Jira issue with the status of the tests run like pass/fail/pending etc.

pom.xml

 

<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-core</artifactId>
<version>${serenity.version}</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-junit</artifactId>
<version>${serenity.version}</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jbehave</artifactId>
<version>${serenity-jbehave}</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-plugin</artifactId>
<version>1.1.1</version>
</dependency>

 

These artifacts are the essential ones for working with automation using serenity and jbehave. There might be some other dependencies or plugins that i might have missed or over looked.

 

JBehave Tutorials on this website can be found at:
https://www.testingdocs.com/jbehave-framework-tutorial/

For more details on the JBehave framework, visit the official JBehave website at:
http://jbehave.org

Related Posts

Create a New Project Eclipse

JBehave /

Cucumber Java BDD Selenium Framework

JBehave + Serenity Sample Project

JBehave /

JBehave + Serenity Sample Project

Serenity BDD Automation Framework

JBehave /

Serenity BDD Automation Framework

Introduction to Serenity BDD

JBehave /

Introduction to Serenity BDD

Jbehave Ubuntu

JBehave /

Install JBehave Plugins on Ubuntu

‹ Introduction to Serenity BDD› Serenity BDD Automation Framework

Recent Posts

  • How to secure your SQL Database: Tips and Tricks
  • Shaping the Future of Development: Exploring Key Trends in Software Engineering
  • Improving Java Performance with Multithreading
  • Difference between PHP and JavaScript?
  • Bing Conversation Styles
  • ChatGPT Introduction
  • Open Source AI Frameworks
  • Artificial Intelligence Tools
  • Top AI Music Applications
  • Top AI Website Design Tools

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com