Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestCaseRunner [WIP] #397

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

TestCaseRunner [WIP] #397

wants to merge 4 commits into from

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 0df3c7e to 062041b Compare October 13, 2022 01:23
@dg dg force-pushed the master branch 10 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
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