In automation space, who doesn't need random test data for things like let's say a name, address, CC, date, phone, etc.?
We are always inclined to use a Java class that provides some random numbers or strings like this jk4h5j6hjkh for a name, address, city, etc. But isn't it dreadful?
Do you guys know that there is a Faker library that is excellent at generating realistic test data? And that too based on your locale: https://github.com/DiUS/java-faker
Do check this out too for the examples: https://java-faker.herokuapp.com/
I find it very shway. Do comment if you are already using it or like it.
#seleniumautomation #easierway #betterway #apiautomation #testData #automationtesting
Comments
Post a Comment