Fixture Factory v4.0.1 Release Notes
Release Date: 2016-04-19 // over 8 years ago-
No data yet ๐
You can check the official repo
Previous changes from v3.0.0
-
๐ Features
๐
has
andgimme
functions now supports multiple templatesFixture.from(User.class).gimme(2, "male", "female");
Fixture.of(User.class).addTemplate("valid", new Rule() {{ add("addresses", has(2).of(Address.class, "sp", "mg")); }});
โ adding
asString
toinstant
function #58
add("birthdayAsString", instant("18 years ago").asString("dd/MM/yyyy"));
uniqueRandom
function to generate unique values #70CNPJ function #55
add("cnpj", cnpj());
๐ Bugfixes
- ๐ Fixing
range
function withBigDecimal
type #69 - ๐ Fixing fixtures for inner classes with construtors in Java 8 935214c
- ๐ Fixing overriding nested attribute in
gimme
call #73 - And others...
Others
- ๐ Little improvements in documentation
- ๐จ Functions' package was refactored, this will break people that are importing those functions