Slides available as pdf.
The code is available on Github <3
- Mutation Testing for Java: PiTest
- H2 database
- Consumer Contracts
Feel free to reach out to me @TCoolsIT on Twitter if you have additional questions!
How do you handle Data? Do you clear the database between each test?
Actually, we have a BeforeEach somewhere in our code which runs a ton of TRUNCATE statements on all tables that can be truncated. It’s not that pretty but it is pragmatic and works. :-)
If it ever slows down our tests too much where we don’t feel comfortable with that approach anymore, then we’ll look into it. For now, it’s good enough!