Questions tagged [jfairy]

Java fake data generator.

Java fake data generator. Project page: http://codearte.github.io/jfairy/

3 questions
3
votes
3 answers

How do I Change the Language in jFairy's Text Objects?

I'm new at using jFairy. I tried to produce 100 English words through the following code: for(int i=0; i<100; i++) { System.out.println(Fairy.create(Locale.ENGLISH).text().word()); …
Rassell
  • 31
  • 2
1
vote
0 answers

How to use multiple languages in jFairy-Locale combo

During automation testing, I am trying to select "Albanian" from language dropdown and trying to enter a company name generated using jFairy. Below is the code snippet i am using(which is in Java). As shown in the image below. Fairy plFairy =…
Anjana S
  • 15
  • 4
1
vote
2 answers

How to fix java.lang.NoClassDefFoundError: com/google/inject/AbstractModule in jFairy

I have built jFairy project from git repository ([1]: https://github.com/Devskiller/jfairy.git) using mvnw install command. then I have imported compiled jar file to my project. package userdao; import java.sql.Connection; import…
Loveun CG
  • 99
  • 3
  • 12