3. "It works on my
machine"
Testing is annoying to the
typical programmer.
Programmers are driven to
create things, build products,
add features, and make
things work.
Testing is just the opposite.
It's about finding
weaknesses, exploiting edge
cases and making it breaks.
4. "It works on my
machine"
How to make testing Java
applications easy and fast?
5. Groovy - more productive
Java
Compiles to byte code
Easy to pick up by Java
developers
Reuse of Java semantics
and API
9. Lambdas -> Closures
• Closures are blocks of code that can be treated as first-class
objects: passed around as references, stored, executed at
arbitrary times, and so on.
17. Spock Testing
Framework
Expressive testing language
Easy to Learn
Reduce the line of test code
Leverage Groovy
Productivity
Structural blocks - BDD style -context, stimulus,
expectation
28. Some ideas
Treat Storm components as regular functions
Use backtype.storm.Testing
Use Spock Mocks, Stubs and Interactions
https://github.com/xumingming/storm-lib/blob/master/sr