tester
tester copied to clipboard
TestCaseRunner [WIP]
Can run multiple TestCase tests:
/**
* @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 of @testcase~~ … Done.
Can you explain the use case? What problem does this solve?
Discussed here https://f3l1x.slack.com/messages/C69LKE8P2
Discussed here https://f3l1x.slack.com/messages/C69LKE8P2
That seems private.
@JanTvrdik Wanna join us?
@JanTvrdik Wanna join us?
No, I want to see just the answer to Jan Tvrdik's question ;)
It should make possible to separate test definition from it's execution so tests could be e.g. analysed with phpstan.