Check out my open source project QATools.org in the Maven Central Repository for some handy utilities.
I created it five years ago. I might not implement everything the same way today as I’ve evolved in the last five years.
There’s some good stuff there ready to use or copy & modify for your needs.
I’ll cover some of the utilities in QATools over multiple blog posts.
Add this to your pom file:
For starters, take a look at DataGenerator.java. Here’s a way to generate random and realistic names like “Dave Smith” rather than “akakljx lajeite”. “Dave Smith” is a lot easier to read and more meaningful when discussing specific test results with your colleagues. There’s also a way to customize it if you want to have fun randomly generating names of people on your team.