★ wanayoo — archive 1999 https://github.com/slimphp/Slim/pull/2081Nouvelle recherche | Portail wanayoo
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

App tests #2081

Merged
merged 4 commits into from Dec 8, 2016
Merged

App tests #2081

merged 4 commits into from Dec 8, 2016

Conversation

@dopesong
Copy link
Contributor

@dopesong dopesong commented Nov 27, 2016 •

Got commit from #2079 because accidently made changes in 3.x and rebased from it.

@coveralls
Copy link

@coveralls coveralls commented Nov 27, 2016

Coverage Status

Coverage increased (+0.7%) to 97.928% when pulling 5db9333 on dopesong:app-tests into 6088c72 on slimphp:3.x.

@dopesong dopesong force-pushed the dopesong:app-tests branch from 5db9333 to cfab539 Nov 27, 2016
@coveralls
Copy link

@coveralls coveralls commented Nov 27, 2016

Coverage Status

Coverage increased (+0.7%) to 97.928% when pulling cfab539 on dopesong:app-tests into 6088c72 on slimphp:3.x.

@akrabat
Copy link
Member

@akrabat akrabat commented Dec 5, 2016

I get this:

$ phpunit
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.

...............................................................  63 / 566 ( 11%)
.......................................WS...................... 126 / 566 ( 22%)
............................................................... 189 / 566 ( 33%)
..SSSSSSSSSSSSS................................................ 252 / 566 ( 44%)
............................................................... 315 / 566 ( 55%)
............................................................... 378 / 566 ( 66%)
............................................................... 441 / 566 ( 77%)
.........R..................................................... 504 / 566 ( 89%)
..............................................................  566 / 566 (100%)

Time: 615 ms, Memory: 18.00MB

There was 1 warning:

1) Slim\Tests\AppTest::testIsEmptyResponseWithoutEmptyMethod
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead

/Users/rob/Dropbox/bin/phpunit:572

WARNINGS!
Tests: 566, Assertions: 908, Warnings: 1, Skipped: 14, Risky: 1.
@dopesong
Copy link
Contributor Author

@dopesong dopesong commented Dec 5, 2016

Strange. Which php + phpunit version? Because travis passed.

@coveralls
Copy link

@coveralls coveralls commented Dec 6, 2016

Coverage Status

Coverage increased (+0.7%) to 97.928% when pulling 936215c on dopesong:app-tests into 6088c72 on slimphp:3.x.

@dopesong
Copy link
Contributor Author

@dopesong dopesong commented Dec 6, 2016

@akrabat should be ok now.

@geekish
Copy link
Contributor

@geekish geekish commented Dec 7, 2016

Just chiming in with a suggestion... it might help to suggest that devs use vendor/bin/phpunit instead of a global install so everyone is writing and running tests on the same(-ish) version. Definitely run into this before...

@akrabat akrabat merged commit 936215c into slimphp:3.x Dec 8, 2016
3 checks passed
3 checks passed
Scrutinizer No new issues
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.7%) to 97.928%
Details
akrabat added a commit that referenced this pull request Dec 8, 2016
Closes #2081
@akrabat akrabat added this to the 3.7.0 milestone Dec 8, 2016
akrabat added a commit that referenced this pull request Dec 8, 2016
Forward port #2081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants