Skip to content

Latest commit

 

History

History
47 lines (43 loc) · 1.38 KB

spock-intro.md

File metadata and controls

47 lines (43 loc) · 1.38 KB

BDD Big Picture

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
    </td>
</tr>
<tr>
    <td>TDD</td>
    <td>unit test</td>
    <td>test or src?</td>
    <td>forget</td>
    <td>Junit, <a href="http://testng.org">TestNG</a> </td>
</tr>

Spock Big Picture

  • 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.