tester
tester copied to clipboard
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
- bug report? no - feature request? yes First and main motivation is simplier way to get used version. And i believe it's common way to get version.
- bug report? yes/no - feature request? yes/no - version: v1.7.1 ### Description Until you realize, that your regex pattern cannot be delimited with `/`, the function does not work...
Version: 1.7.2, 2.0.2, 2.3.1 By default, tester output in terminal is colored. But those colors are used wrongly. First of all, "bright" version of colors can be interpreted as bold...
Example: ``` $pattern = "sign/in"; $actual = "https://test.dev/sign/in?_fid=j3o0"; \Tester\Assert::match($pattern, $actual); ``` Current tester output: ``` Failed: 'https://test.dev/sign/in?_fid=j3o0' should match ... 'sign/in' in testAbc() ``` It would nice something like: ```...
For example Circle CI can provide `CIRCLE_NODE_INDEX` and `CIRCLE_NODE_TOTAL` env. variables. Naive implementation of splitting can look like this. ~~~php class Runner { ... public function run() { ... $nodeIndex...
- bug report? no - feature request? yes I'm missing functionally similar to [Tracy's Dumper $objectExporters](https://github.com/nette/tracy/blob/cdd9777066cda7be3193edc82720a75a55624a45/src/Tracy/Dumper.php#L53-L59). Currently there is one hard-coded exporter for instances of DateTimeInterface. It would be nice...
The difference readability should be increased with inline diffs using probably the same style as https://github.com/git/git/tree/master/contrib/diff-highlight 
Current result for example: ``` Failed: array('status' => 'fieldsRequired', 'fields' => array(...)) should be ... array('status' => 'fieldsRequired', 'fields' => array(...)) in testFlowUsCompany() ``` Expected result for example ``` Failed:...
- new feature - BC break? no Small change in TestCase structure that will help us do some customizations in our TestCases to gratly simplify and/or speed-up testing by adding...
Nette Tester currently supports a new output format console-lines, which looks very nice and, IMHO, is the most informative of them all. An optimal combination of colors and information, as...