concise
concise copied to clipboard
✅ Concise is test framework for using plain English and minimal code, built on PHPUnit.
Concise doesn't have [specified upper bound](https://github.com/elliotchance/concise/blob/445c82060871663b197ddf51a90a5add1c6efe68/composer.json#L27) for phpunit version, which means application will crash on PHP 7 when concise is used, unless author of application requires phpunit < 6 explicitly...
Concise isn't able to mock functions in PHP 7 that have a return type declared. This change supports that by using reflection to find the return type and appending it...
```php $this->assert([ ['attach', ['event3', [1, 'method5']]], ['attach', ['event1', [1, 'method1']]], ['attach', ['event2', [1, 'method2']]], ['attach', ['event3', [1, 'method4']]], ['attach', ['event3', [1, 'method3']]], ])->equals([ ['attach', ['event3', [1, 'method5']]], ['attach', ['event1', [1,...
```php class SimpleTest extends \Concise\Core\TestCase { public function testSimple() { $this->assertTrue(false); } } ``` ``` $ ./vendor/bin/phpunit PHPUnit 5.7.20 by Sebastian Bergmann and contributors. F 1 / 1 (100%) Time:...
Not sure why this method was needed in the first place but existing code should use the `ThemeInterface` instead.
Got the following error running Consise: ``` vendor-dev/bin/concise --configuration tests/phpunit.xml --group "translations" PHP Warning: file_get_contents(/var/www/my-project/vendor-dev/elliotchance/concise/src/Concise/Core/../../../../../../vendor/composer/installed.json): failed to open stream: No such file or directory in /var/www/mccs/vendor-dev/elliotchance/concise/src/Concise/Core/Version.php on line 39 ```...
Tests tagged with get a fatal error @runTestsInSeparateProcesses @preserveGlobalState ``` PHP Fatal error: Uncaught Error: Class 'PHPUnit_Util_Configuration' not found in -:76 Stack trace: #0 {main} thrown in - on line...
Hi, I just tried out concise on a jenkins build. It is probably a configuration issue my end, but running `concise --ci` on jenkins doesn't print like it does in...
Probably should be a verbose option but running/peak memory is useful. Maybe memory per test stats as well?