Spotlight on Adam Rosien
Language: CFP, Scala
When: Thursday, October 17th - 12:00
Writing Programs That Write Tests: Better Testing With Scala
Writing tests is so . . . boring. And repetitive. And often, in hindsight, rather ad hoc, and therefore ineffective. We’ll learn about property-based testing using ScalaCheck: how it compares to unit testing, when is it better (or worse); learning about different families of invariants and when they are appropriate for your code; how to structure the tests using the main ScalaCheck abstractions, run them, and debug them; and how to test stateful systems. Don’t write tests! Write code that will write lots of tests!
Attendees will learn:
- The differences between property-based testing and traditional unit testing
- How to recognize the most common kinds of properties and encode them
- How to structure, or refactor existing tests using ScalaCheck
- Debugging strategies for tests
- Testing strategies for stateful systems
Main audience: developers familiar with traditional unit testing, who want to learn more powerful techniques.
Adam Rosien is a Principal at Inner Product, focused on building systems using functional programming. He previously helped various startups in many domains develop back-end systems and implement continuous deployment practices, and also spent five years as a developer at Xerox PARC.
For more on Adam, visit:
About Lambda World:
Lambda World takes place October 17th - 18th, in Cádiz, Spain and is hosted by 47 Degrees in conjunction with the Scala and Java communities of Spain. The event is located at the Palacio de Congresos, an old tobacco factory near the beach. You can find more details at Lambda.world