-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Allow markTestSkipped/Incomplete() in dataProvider #997
Allow markTestSkipped/Incomplete() in dataProvider #997
Conversation
how can i add these fixes to my current phpnit 3.7 installation ? |
Thoughts on this, @sebastianbergmann? |
related: #1074 |
Ping, @sebastianbergmann :) /cc @jrfnl |
Exactly what I was looking for! +1 |
The pull request needs to updated (rebase, replase "3.8" with "4.3", ...). Then it should be good for merging. |
@dshafik Is this something you'll have time to do? If not, I can handle it :) |
Working on this now, @whatthejeff — just making sure the tests still pass and I'll update the PR |
Awesome! |
This is completed, the restructure of the repo threw me off on mac for a bit. Due to OS X case-insensitive FS it kept saying "phpunit" was deleted, when it meant the old PHPUnit top-level dir. Then when I did Any way, all fixed, tests for my additions pass, but there are failures. I checked with HEAD^ and had the same failures. |
@dshafik Curious what the failures are. Everything passed on travis. |
@whatthejeff what's the best way to get that information to you? Just paste the entire output into a gist? |
@dshafik Yeah, that works for me. Also, you might want to bump the copyright years. |
- If you call `$this->markTestSkipped()` or `$this->markTestIncomplete()` in a dataProvider, it will now skip/incomplete the test, counting it as one test
bumped the copyright years, @whatthejeff :) |
The test failures seem to be related to the filesystem issues you were having with OS X. I can tell you that all tests pass when I do a fresh checkout on OS X. |
Allow markTestSkipped/Incomplete() in dataProvider
Thanks for your contribution, @dshafik! |
@whatthejeff can confirm about the failures, all is fine on a fresh checkout. Thanks for merging! :) |
Thanks @dshafik for the quick update and @whatthejeff for the merge! 💕 |
$this->markTestSkipped()
or$this->markTestIncomplete()
in a dataProvider, it will now skip/incompletethe test, counting it as one test