Released: Pyrameter 0.2.0
This release removes the Unknown type. Tests that cannot be inspected now fall back to Unit, making the reported shape easier to understand and verify.
This also show the pyramid visualization:
โ pyrameter git:(main) vendor/bin/phpunit
PHPUnit 12.5.30 by Sebastian Bergmann and contributors.
Runtime: PHP 8.4.21
Configuration: /Users/samsonasik/www/boundwize/pyrameter/phpunit.xml
............................................................ 60 / 60 (100%)
Pyrameter
=========
Shape: Healthy Pyramid
Result: Passed โ
โญโโโโโโโโฎ
โ E2E โ โ
โญโโโโโโดโโโโโโโโดโโโโโโฎ
โ Integration โ โ
โญโโโโโดโโโโโโโโโโโโโโโโโโโโดโโโโโฎ
โ Functional โ โ
โญโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโฎ
โ Unit โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Kind Tests Actual Target Status
Unit 37 78.7% >= 60.0% โ
Functional 6 12.8% <= 20.0% โ
Integration 4 8.5% <= 16.0% โ
E2E 0 0.0% <= 2.0% โ
Total: 47 tests
Your test pyramid target passed.
Time: 00:00.412, Memory: 26.00 MB
OK (60 tests, 145 assertions)What's Changed
- Drop type: Unknown, fallback to Unit instead and show pyramid visualization report by @samsonasik in #11
Full Changelog: 0.1.2...0.2.0