-
-
Notifications
You must be signed in to change notification settings - Fork 47
Home
Andrei Ciobanu edited this page Mar 13, 2017
·
17 revisions
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:
bools()
,chars()
,doubles()
,floats()
,ints()
,longs()
,strings()
; - arbitrary time related information:
days()
,months()
,localDates()
. - arbitrary user information:
emails()
,users
,uuids()
,names()
,passwords()
; - arbitrary text based on Markov Models:
markovs()
; - arbitrary data related to networking:
ipv4s()
,ipv6s()
,macs()
,urls()
; - arbitrary data for financial apps:
creditCards()
,currencies()
,money()
, - arbitrary geographical data;
- instantiate java objects with arbitrary values (based on a set of conditions):
constructor()
,factory()
,reflect()
; - construct complex collections structures and fill them with arbitrary values:
collection()
,mapKeys()
,mapVals()
,set()
; - and much-much more.
Using the library:
Real World Examples: