Approach | Framework input | Source of Truth | Business Readability | Frameworks |
---|---|---|---|---|
Classical BDD | user story | user story | excellent | JBehave Java, Cucumber Ruby |
Spec-based BDD | specification | specification | moderate | Spock Groovy,
Jasmine JS
|
- Designed as testing framework for Groovy applications
- Now, Spock integrates seamlessly with Java ecosysten. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and CI servers
- Excellent support in IntelliJ IDEA
- Groovy is a dynamic and 'cool' language for JVM. Is it suitable for writing large, enterprise systems? Not sure, but its an excellent choice for writing tests against Java code.