hamcrest-php
hamcrest-php copied to clipboard
PHP Hamcrest implementation [Official]
I'm sending first draft of `IsExistingDirectory` and `IsExistingFile` matchers. Please review the code and let me know if this structure is ok for you. I'll then create the rest of...
Add a .gitattributes file to exclude the tests and ci files from the archive export used by composer. See: https://www.git-scm.com/docs/gitattributes#_creating_an_archive
`AbstractMatcherTest->testIsNullSafe()` and `AbstractMatcherTest->testCopesWithUnknownTypes()` execute no assertion by design. Currently there are 195 tests marked as risky due to this. This change will stop reporting all these tests as risky.
Would it be possible to add [FileMatchers](http://hamcrest.org/JavaHamcrest/javadoc/2.2/org/hamcrest/io/FileMatchers.html)?
No need to distribute tests in distribution.
This commit is part of a campaign to reduce the amount of data transferred to save global bandwidth and reduce the amount of CO2. See https://github.com/Codeception/Codeception/pull/5527 for more info. I'm...
Please add this comment: https://github.com/sebastianbergmann/phpunit/issues/2744#issuecomment-439740212 to your readme.
I have some problems to use Hamcrest in combination with PHPUnit. I loaded phpuNit 7.0 and hamcrest-php (dev-master) with composer. The environment is PHP 7.2. And then I build this...
A simple fix, but could be confusing for people just coming to the package (like me!)