Fixture Factory v3.0.0 Release Notes

Release Date: 2015-01-29 // about 9 years ago
  • ๐Ÿ”‹ Features

    • ๐Ÿ‘ has and gimme functions now supports multiple templates

      Fixture.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 to instant function #58
      add("birthdayAsString", instant("18 years ago").asString("dd/MM/yyyy"));

    • uniqueRandom function to generate unique values #70

    • CNPJ function #55
      add("cnpj", cnpj());

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixing range function with BigDecimal 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