java-faker
java-faker copied to clipboard
Add access to whole data sets / entire data sets
I want to be able to utilise the entire data set, e.g. do something with all hospital names
Something like: Faker.instance().name().data().lastName(); // returns List<String> of all names Faker.instance().eagerLoad(Locale.forLanguageTag("nl")).getDataSet(); // returns nested map of all loaded data set Faker.instance().eagerLoad(); // returns nested map of every available data set (yes, ~slow (not that slow - I tried a workaround))
This is useful for inspecting what's available programatically
I want this to be able to have the maximum unique data set to do large tests with.
Awesome library BTW :)
Hello @astubbs , our group are interested in this issue, and we will try to implement it. ---- SE_SUSTech, group: Lanrand
oh cool! I suggest you implement it here instead: https://github.com/datafaker-net/datafaker/
Thank you very much! I'll check out the data faker project