part4 – Neal Ford
summary
Argues that designing APIs as sentences produces clearer code and shows concrete DSLs and tools that do this now including Hamcrest included with JUnit 4, mocking frameworks like jMock and Rhino Mocks with functional-spec style expectations, behavior testing via easyb in Groovy and RSpec, and numeric extensions in Groovy/Ruby to write units like grams and pounds. Demonstrates converting XML-ish configuration into a compact Ruby-like DSL for reader strategies and reports it compiles and runs on the JVM.
AI-written summary · about
chapters (4)
- 0:00Start
- 3:07Behavior Driven Development Testing Framework
- 3:22Behavior Driven Development
- 4:09Unit Tests
related talks
49mJava's Hidden Gems: Tools and Libraries
46mWe wrote a DSL in Spring and stepped on the rake
46mModern Testing Tools for Java Developers
49mOn @annotations - liberate yourselves from demons
39mRethinking Unit Testing: Automating the Generation of Java
20mJava's Hidden Gems: Tools and Libraries
14mTypeless Writing in a Strong Typed World
57mModern Testing Tools for Java Developers
