Skip to content

bmbferreira/BddScalaTestVsCucumberVsSpecs2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BDD in Scala - ScalaTest vs Cucumber vs Specs2

Codacy Badge Codacy Badge CircleCI

Small SBT project with a simple Bank Account implementation making use of three different testing tools (Cucumber, ScalaTest and Specs2) in order to compare each one of them about how Behavioural Driven Development can be put in practice in Scala projects. The conclusions drawn from this experiment are described in this blog post.

To compile the project run scripts/compile.sh.

To run all the tests just run sbt test, or scripts/test.sh.

ScalaTest

To run only the tests that are using ScalaTest:

sbt 'testOnly bank.scalatest.*'

Cucumber

To run only the tests that are using Cucumber:

sbt 'testOnly bank.cucumber.*'

Specs2

To run only the tests that are using Specs2:

sbt 'testOnly bank.specs2.*'

About

Simple project to compare BDD using Cucumber, ScalaTest and Specs2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published