Work in progress
Generates fake data for testing or populating a development database.
A Java port of the Faker ruby gem.
repositories {
// ...
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.blocoio:faker:-SNAPSHOT'
}
Faker faker = new Faker();
faker.name.firstName(); // Returns "Aaron"
faker.company.name(); // Returns "Hirthe-Ritchie"
Faker faker = new Faker("nl");
faker.name.firstName(); // Returns "Thijs"
For full list of available options, check the original source.
- Address
- App
- Company
- Name
- Dates support
- Regular expressions support
- Implement remaining components