Questions tagged [jbehave]

JBehave is a Java-based framework supporting Behavior-Driven Development (BDD), an evolution of Test-Driven Development (TDD) and Acceptance Test–Driven Development (ATDD).

JBehave is a Java framework for Behavior-Driven Development (BDD).

BDD is an evolution of test-driven development (TDD) and acceptance-test driven design, and is intended to make these practices more accessible and intuitive to newcomers and experts alike.

It shifts the vocabulary from being test-based to behavior-based, and positions itself as a design philosophy.

References:

549 questions
-1
votes
1 answer

How to execute jbehave stories with lifecycle steps as PerStoriesWebDriver steps?

The browser does not initialize and throws the error "WebDriver has not been found for this thread.Please verify you are using the correct WebDriverProvide with the appropriate credentials if using remote access e.g. to SauceLabs:…
-1
votes
1 answer

How to get run status of Scenarios in AfterScenario JBehave

I am trying to get the status of Scenarios (ie. Failed, Skipped or Passed) in AfterScenario method in Jbehave using junit. I want it to use this to genrate Extent Reports.
-1
votes
1 answer

Cannot share web driver instance between different stories that have common life cycle steps in JBehave

I have two different step classes that has common lifecycle before and after steps. So I created a common step class that has webdriver initialisation and cleanup code as a lifecycle before and after methods. This common class is extended by both…
Prasanta Biswas
  • 761
  • 2
  • 14
  • 26
-1
votes
1 answer

Issue with generating Serenity reports with Appium and Jbehave

I am new to Serenity and JBehave and I am facing issues in generating reports with Serenity. Please find below my POM.xml file. I am getting blank reports and results.csv file also doesn't show any information about the ran tests, however, we are…
-1
votes
1 answer

Unable to run the jbehave story file through junit

I am creating a frame work for automation testing using jbehave story files and junit for running it. PFB: This is my class file from where I am running the code: I have defined the path of the story file even then junit is not able to collect…
faiz
  • 1
  • 1
-1
votes
1 answer

How can I avoid conflicts running Selenium tests in parallel, when they must exercise an underlying REST API?

I have a web application which needs to be tested in multiple browsers in multiple environments (i.e. Chrome, Firefox, and Internet Explorer in both Windows and Linux* (*with the obvious exception of Internet Explorer)). Tests have been written in…
Eilidh
  • 1,270
  • 1
  • 13
  • 33
-2
votes
1 answer

Jbehave thucydides.. BDD for Java.. examples?

Does anyone know of any good examples of using JBheave and thucydides, to write Acceptance tests for java classes. I have found some tutorials for testing web pages, but i want to know how to write tests for java classes. Using JUNIT. Anyone?
user1555190
  • 2,803
  • 8
  • 47
  • 80
-3
votes
1 answer

I am new to JUnit Testing.I am unable to write successful test cases and the test Case I create is returning a nullpointer exception

I am trying to write test cases for an endpoint controller for the following controllers @RestController @RequestMapping("/agent/") public class AgentRestController extends BaseRestController { @RequestMapping(value = "/log/{revisionId}/",…
-6
votes
2 answers

superclass has no null constructors but no arguments were given without spring integration

java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given at net.sf.cglib.proxy.Enhancer.emitConstructors(Enhancer.java:721) at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:499) at…
1 2 3
36
37