Writing and maintaining tests is tedious, manual work that consumes a fair amount of our time.
At Riskified, we wrote a small Scala testing framework that automatically generates random inputs. It makes our lives a bit easier, leaving us free to focus on what really matters in our tests.
We’ve created a library called “RandomObject” as part of our Scala infrastructure. It allows us to write maintainable tests fast by focusing on a subset of fields in each test. Now, If a certain field is irrelevant to a test case randomly generated data is used.
In this blog post, we…
Software engineer at Riskified