L&D series: Learn to lie as a Test Engineer
Learning and Development chapter 5.
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