Released: Pyrameter 0.3.0
This release adds function-call based usage detection. You can now use usesFunction() in pyrameter.php to classify tests when they call project-specific or boundary-crossing functions.
// ...
->usesFunction('app_writes_to_disk', TestKind::Integration)Pyrameter’s defaults now also treat common PHP filesystem functions as Integration, so tests using operations like file_get_contents(), file_put_contents(), fopen(), mkdir(), rename(), unlink(), glob(), and related file/directory functions are detected as integration tests automatically.
What's Changed
- Add
usesFunction()and default filesystem integration rules by @samsonasik in #24
Full Changelog: 0.2.8...0.3.0