tester icon indicating copy to clipboard operation
tester copied to clipboard

Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

Results 22 tester issues
Sort by recently updated
recently updated
newest added

As the php gettype() function returns 'boolean' and 'double' as types, it would be nice, if i can test the type of vars with these names: ```php $float = 42.0;...

friendliness

This is similar to the `test()` function, which is actually used by all Nette libraries. In addition, the test name is passed to the function and it lists results. ![image](https://user-images.githubusercontent.com/194960/90337195-38b14a00-dfe1-11ea-90bd-3903f904ef07.png)...

Can run multiple TestCase tests: ```php /** * @testCase */ declare(strict_types=1); namespace Tester; require __DIR__ . '/../src/bootstrap.php'; (new TestCaseRunner) ->findTests(__DIR__ . '/Test*.php') ->run(); ``` ~~The next step could be removal...

- new feature - BC break? no - doc PR: todo Snapshot testing is a technique which allows users to instruct the testing framework to generate and store a snapshot...

next-bigger-release

- bug fix? no - new feature? yes - BC break? no This refactor Dumper::dumpException in the way that part maintaining storing Assert diff is callable from other test libraries.

One of the popular strategies for marking deprecated code in libraries is to use `@trigger_error('...', E_USER_DEPRECATED)` call, see: - https://github.com/doctrine/deprecations - https://github.com/symfony/deprecation-contracts The main advantage and also its main disadvantage...

Would it be possible to add coverage export in Cobertura xml format due to use visualization in gitlab (see https://docs.gitlab.com/ee/user/project/merge_requests/test_coverage_visualization.html)?

enhancement