Blog Archives

Java BDD (Behavior Driven Development) interview Q&A

Q1. What is BDD? A1. BDD is principally an idea about how software development should be managed by both business interests and technical insight. Test-driven development focuses on the developer’s opinion on how parts of the software should work. Behavior-driven development focuses on the users’ opinion on how they want...

Members Only Content
Log In Register Free Q&As


jBehave and BDD example

To appreciate jBehave, let’s look at a better example here. This example is about a science formula   Speed = distance / Time. So, given  distance and time, calculate speed given speed and time, calculate distance given speed and distance, … Read more ›...

Members Only Content
Log In Register Free Q&As


jBehave and jUnit for BDD

This extends the jBehave — Behavioural Driven Development (BDD) Q&A to use the same example with jUnit testing. Step 1:  Make sure that you have both jUnit and jBehave in your pom.xml file. Step 2: Refer to Behavioural Driven Development (BDD) for all the jBehave implementation. … Read more ›...

Members Only Content
Log In Register Free Q&As


jBehave with tabular story data

This extends the previous jBehave and BDD tutorials. The story is in a tabular format as shown below. This is an industrial strength example. Step 1: The story file  which supplies a list of transactions as an input (i.e. via Given) and validates against a list of transactions that are...

Members Only Content
Log In Register Free Q&As


Java FAQs to Fast-track & Go places

Big Data Engineer FAQs

Java Interview Q&As

Note that some posts belong to multiple categories.
Top