As a normal human being, surely we are used to lies. But let’s use the lie for something else this time. As a Test Engineer, we have to create many data for testing purpose. Do we have to use real data every time we do a test? Of course not.

For manual testing, we have to think of any random words/data which can be used for specific purposes. For automation, let’s be a little lazy!

Faker

Let’s use some faker library to generates fake data for us.

Golang (https://github.com/brianvoe/gofakeit)

Ruby (https://github.com/faker-ruby/faker/)

Java (https://github.com/DiUS/java-faker)

The fact is not all data in production is data from real users. So when we believe and are happy when our system is used by many people, some of that is definitely a lie. — MperMperPisang

https://images.theconversation.com/files/263351/original/file-20190312-86696-qqd56h.jpg?ixlib=rb-1.1.0&q=45&auto=format&w=1200&h=1200.0&fit=crop

--

--

Ferawati Hartanti Pratiwi
Inside Bukalapak

QA (Quality Ambassador) | mpermperpisang official Medium account