/BehaviorDrivenDevelopmentBDD

Behavior Driven Development BDD (Gradle, Cucumber, Serenity BDD, AssertJ)

Primary LanguageJavaApache License 2.0Apache-2.0

Behavior Driven Development BDD

Project Setup with

Run all Tests

./gradlew test aggregate

Serenity BDD aggregated Testreport

is in folder target\site\serenity as HTML Report - open index.html

Gradle JUnit Testreport

is in Folder build\reports\chromeTest\tests as HTML Report - open index.html

Serenity BDD References

An Introduction to BDD Test Automation with Serenity and Cucumber-JVM

An Introduction to BDD Test Automation with Serenity and JUnit

Serenity BDD Reference Manual

Serenity BDD Documentation

Serenity BDD @ Github

Official Serenity BDD Blog

Cucumber References

BDD Testing with Cucumber, Java and JUnit

Cucumber - executable Specifications

Agile Glossary References

The Given-When-Then formula is a template intended to guide the writing of acceptance tests for a User Story

User Stories References

Imperative vs Declarative Scenarios in User Stories

Imperative Style: Detailed Attributes in the Gherkin Description.

Declarative Style: Detailed Attributes in the Steps Implementation or the Library Implementation.

BDD References

The Truth about BDD

Clean Coder - GIVEN/WHEN/THEN is simply a state transition, and BDD is really just a way to describe a finite state machine.

AssertJ References

AssertJ Fluent assertions for java

Dependencies