Skip to content

Conversation

@julienfalque
Copy link
Contributor

Q A
Branch? 2.8
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

When a test uses a data provider, the @group time-sensitive annotation does not work if it is set on the method because the test name includes the data provider name by default. This was fixed in master by c344203 but not in 2.8, 3.0 and 3.1.

@julienfalque julienfalque changed the title Fix time-sensitive tests that use data providers [PhpUnitBridge] Fix time-sensitive tests that use data providers Nov 17, 2016
@xabbuh
Copy link
Member

xabbuh commented Nov 17, 2016

👍

Status: Reviewed

@stof
Copy link
Member

stof commented Nov 17, 2016

👍

@nicolas-grekas
Copy link
Member

Thank you @julienfalque.

@nicolas-grekas nicolas-grekas merged commit f376cde into symfony:2.8 Nov 17, 2016
nicolas-grekas added a commit that referenced this pull request Nov 17, 2016
…viders (julienfalque)

This PR was merged into the 2.8 branch.

Discussion
----------

[PhpUnitBridge] Fix time-sensitive tests that use data providers

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

When a test uses a data provider, the `@group time-sensitive` annotation does not work if it is set on the method because the test name includes the data provider name by default. This was fixed in master by c344203 but not in 2.8, 3.0 and 3.1.

Commits
-------

f376cde Fix time-sensitive tests that use data providers
This was referenced Nov 21, 2016
@julienfalque julienfalque deleted the fix-clockmock-tests branch November 21, 2016 13:00
@fabpot fabpot mentioned this pull request Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants