Skip to content

v1.0.3

Compare
Choose a tag to compare
@Mulkave Mulkave released this 01 Jan 16:37
· 37 commits to main since this release

Changed

  1. Tests will no longer be located away from the root tests directory, and will be distributed to tests/Feature and tests/Unit
Unit From To
Feature tests/Features/*Test.php tests/Feature/*Test.php
app/Services/<service>/Tests/*Test.php tests/Feature/Services/<service>/*Test.php
Operation tests/Operations/*Test.php tests/Unit/Operations/*Test.php
app/Services/<service>/Tests/Operations/*Test.php tests/Unit/Services/<service>/Operations/*Test.php
Job app/Domains/<domain>/Tests/Jobs/*Test.php tests/Unit/Domains/<domain>/Jobs/*Test.php
  1. Use proper namespaces for test files starting with Tests\... instead of App\..\Tests\...

Fixed

  • Default test method names are generated using Str::snake instead of mb_strtolower (test_someawesomefeature -> test_some_awesome_feature for a feature called SomeAwesomeFeature)