Testing your code and your tests

Join waitlist?

23 on waitlist

Location image of event venue


In this meetup, we will talk about testing! INNOQ will provide food & drinks.

18:30 Doors open
19:15 Daniel Westheide
20:00 Break
20:15 Lars Hupel

Daniel Westheide: Testing in the postapocalyptic future

One popular way of testing in the Scala community is property-based testing - by generating random, often unexpected test data, it can uncover shortcomings in our implementations. In this talk, you will learn about a completely different approach, _mutation testing_: By mutating your code, it tests your tests and tells you a lot more about the quality of your tests than metrics like code coverage. We're going to cover what mutation testing us, how you can use it in your Scala projects, how it compares to property-based testing, and the challenges of implementing this approach in Scala.

Lars Hupel: How to test proper{t,l}y

Writing unit tests is pretty much established practice and in addition to that, property testing has caught up on popularity. Most functional languages have one, sometimes even many implementations. But “property testing” has a lot of aspects: randomized or exhaustive, minimization and generalization of counter examples, custom generators and filters, to name a few. Very often, property tests don’t exploit all the features of the framework. In this talk, I’ll give an overview of the state of the art of property testing in FP languages and show some common use cases, techniques and pitfalls.