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

Removed group check before running any PHP tests. #6621

Merged
merged 1 commit into from
Nov 10, 2014
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Nov 9, 2014

This check does not really makes sense as a group was never needed
for a test to be executed on Travis. The testsuites that always have been
used on Travis automatically execute all tests within the PHPUnit/Unit
Integration and System folder. A group was never needed. Maybe some
developers used groups to execute tests but then always only a part of
the tests was executed as a test does not necessarily has the "correct"
group. Removing this check is also important for plugin developers who
write tests for their plugin as we cannot expect that they set a group
as it is usually not needed in any other project. If plugin developers
do not set a group and we run our automated tests no test
would be executed because of this unneeded check.

This check does not really makes sense as a group was never needed
for a test to be executed on Travis. The testsuites that always have been
used on Travis automatically execute all tests within the PHPUnit/Unit
Integration and System folder. A group was never needed. Maybe some
developers used groups to execute tests but then always only a part of
the tests was executed as a test does not necessarily has the "correct"
group. Removing this check is also important for plugin developers who
write tests for their plugin as we cannot expect that they set a group
as it is usually not needed in any other project. If plugin developers
do not set a group and we run our automated tests no test
would be executed because of this unneeded check.
@mnapoli
Copy link
Contributor

mnapoli commented Nov 9, 2014

Does it mean @group Core is not needed on tests in Core?

@tsteur
Copy link
Member Author

tsteur commented Nov 9, 2014

Exactly. It is nice to have but not really mandatory and not even so useful. At some point we could maybe even add groups "dynamically" as we now core tests are always in tests/PHPUnit/ and plugin tests are always in plugins/*/tests/**.

mattab pushed a commit that referenced this pull request Nov 10, 2014
Removed group check before running any PHP tests.
@mattab mattab merged commit c2019d1 into master Nov 10, 2014
@mattab mattab deleted the removeGroupsCheck branch November 18, 2014 23:51
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.

None yet

3 participants