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…

Read more ...


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, calculate time.… Read more ...



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.

Read more ...


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…

Read more ...


Don't be overwhelmed by the number of Q&As & tech stacks as nobody knows everything, and often key Q&As at the right moment makes a difference.

500+ Java Interview FAQs

Java & Big Data Tutorials

Top