Skip to content

v1.4 Release

Compare
Choose a tag to compare
@pabloelcolombiano pabloelcolombiano released this 08 Sep 12:18
· 37 commits to cake3 since this release
91a4c94
  • New ->setField(string $field, $value) method to easily populate one single field, instead of using ->pachData([]) and typing an array.
  • Fixture Scenarios have been enhanced. You may now pass arguments to them, and define return parameters.
  • New ::get(), ::find() and ::count() will make it easier to query your test DB in the assert part of your test.
  • The ->with() method now accepts arrays of factories as parameter, to keep your code compacter.
  • Method annotations were added to the baked factories
  • The fixture_factories_persist command enables you to insert test fixtures on the command line.