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

Use message argument for PHPunit assert() functions #6736

Merged
merged 2 commits into from
Jul 9, 2016

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jul 8, 2016

Finishes #6118

Original PR description:

Assert functions from PHPUnit do have an optional message argument. This is especially usefull for assertTrue because the message printed on failure does not (and can not) contain any details. Demonstrate this possibility

SimonHeimberg and others added 2 commits July 8, 2016 15:48
Assert functions from PHPUnit do have an optional message argument. This is especially usefull for assertTrue because the message printed on failure does not (and can not) contain any details. Demonstrate this possibility
@javiereguiluz
Copy link
Member

👍

Status: reviewed

@wouterj wouterj merged commit d604bfd into 2.7 Jul 9, 2016
wouterj added a commit that referenced this pull request Jul 9, 2016
…nHeimberg, WouterJ)

This PR was merged into the 2.7 branch.

Discussion
----------

Use message argument for PHPunit assert() functions

Finishes #6118

Original PR description:

 > Assert functions from PHPUnit do have an optional message argument. This is especially usefull for assertTrue because the message printed on failure does not (and can not) contain any details. Demonstrate this possibility

Commits
-------

d604bfd Make messages positive
97e072e use the message argument of assertX functions
@wouterj wouterj deleted the SimonHeimberg-WebtestcaseAssertMessage branch July 9, 2016 08:51
@SimonHeimberg
Copy link
Contributor

@wouterj thanks

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.

None yet

4 participants