Skip to content

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 6 times, most recently from 3267365 to 9d28a53 Compare February 6, 2023 15:42
@dg dg force-pushed the master branch 3 times, most recently from dddb52b to 78555c7 Compare March 2, 2023 02:15
@dg dg force-pushed the master branch 3 times, most recently from 95674fc to c5eff68 Compare December 5, 2023 17:32
@dg dg force-pushed the master branch 6 times, most recently from cc8395d to 8b22550 Compare June 18, 2024 20:27
@dg dg force-pushed the master branch 2 times, most recently from 2fee261 to c118637 Compare October 23, 2024 23:57
@dg dg force-pushed the master branch 2 times, most recently from e141379 to 4b8a851 Compare June 19, 2025 17:58
@dg dg force-pushed the master branch 4 times, most recently from 8d2c31b to f7328f7 Compare August 7, 2025 00:29
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