Skip to content

TestCaseRunner [WIP]#397

Open
dg wants to merge 4 commits intonette:masterfrom
dg:testrunner
Open

TestCaseRunner [WIP]#397
dg wants to merge 4 commits intonette:masterfrom
dg:testrunner

Conversation

@dg
Copy link
Member

@dg dg commented Feb 7, 2019

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.

@dg dg force-pushed the testrunner branch 3 times, most recently from 31c58fc to f8468b5 Compare February 7, 2019 21:47
@JanTvrdik
Copy link
Contributor

Can you explain the use case? What problem does this solve?

@dg
Copy link
Member Author

dg commented Feb 7, 2019

Discussed here https://f3l1x.slack.com/messages/C69LKE8P2

@JanTvrdik
Copy link
Contributor

Discussed here https://f3l1x.slack.com/messages/C69LKE8P2

That seems private.

@f3l1x
Copy link
Member

f3l1x commented Feb 8, 2019

@JanTvrdik Wanna join us?

@hrach
Copy link

hrach commented Feb 8, 2019

@JanTvrdik Wanna join us?

No, I want to see just the answer to Jan Tvrdik's question ;)

@mabar
Copy link

mabar commented Feb 8, 2019

It should make possible to separate test definition from it's execution so tests could be e.g. analysed with phpstan.

@milo milo force-pushed the master branch 2 times, most recently from eaaeb7b to 7184606 Compare February 21, 2019 06:47
@dg dg force-pushed the master branch 2 times, most recently from ee525b7 to 6ca248e Compare February 27, 2019 13:34
@dg dg force-pushed the master branch 7 times, most recently from 37f5151 to c3bd1b2 Compare November 19, 2019 13:19
@dg dg force-pushed the master branch 2 times, most recently from 7362057 to a2312d9 Compare January 21, 2020 18:47
@dg dg force-pushed the master branch 2 times, most recently from 4969211 to 81b3703 Compare November 2, 2020 17:30
@dg dg force-pushed the master branch 3 times, most recently from e3ff0e9 to cfedd76 Compare February 5, 2021 20:50
@dg dg force-pushed the master branch 3 times, most recently from cd207d6 to 8c3e2ef Compare March 1, 2021 15:23
@dg dg force-pushed the master branch 2 times, most recently from 6799278 to 8bac4c2 Compare November 24, 2021 10:36
@dg dg force-pushed the master branch 2 times, most recently from 8e93803 to 5774dce Compare March 24, 2022 18:58
@dg dg force-pushed the master branch 5 times, most recently from f2ca728 to b5fcdb3 Compare August 29, 2022 17:18
@dg dg force-pushed the master branch 2 times, most recently from 0df3c7e to 062041b Compare October 13, 2022 01:23
@dg dg force-pushed the master branch 5 times, most recently from 519f344 to f2e770a Compare February 5, 2023 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants