-
-
Notifications
You must be signed in to change notification settings - Fork 47
Home
MockNeat is a Java 8+ library that facilitates the generation of arbitrary test data for your application(s).
MockNeat helps you create:
-
arbitrary values for the basic java types (see:
ints()
,longs()
,doubles()
,floats()
,chars()
,bools()
,strings()
); -
arbitrary time related information (see:
days()
,months()
,localDates()
); -
arbitrary user information: ids, usernames, emails, names, passwords, etc.;
-
arbitrary text based on Markov Models.
-
arbitrary data related to networking: ip addresses, mac addresses, urls, etc.
-
arbitrary data for financial apps: currencies, money amounts, credit card numbers, etc.
-
arbitrary geographical data: country names, cities, etc.
-
construct complex collections structures and fill them with arbitrary values;
-
instantiate java objects with arbitrary values (based on a set of conditions);
-
and much-much more.
Using the library:
Real World Examples: