What I'm looking for is some library like Perl's Data::Faker, Ruby's factory_girl
. Something that allows me to generate random Strings
, Dates
, ... for testing.
I saw this other question. But I want something that has been used by someone with Android.
I tried java-faker, jFairy - they don't work on android. So I find fluttercode.datafactory - it's ok for android. Add following to your app build.gradle to use it:
compile 'org.fluttercode.datafactory:datafactory:0.8'
Usage example: http://java.dzone.com/articles/generate-test-data-datafactory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With