Skip to content

Commit

Permalink
Failing on PHPUnit warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed Nov 8, 2016
1 parent 1acbaa5 commit 35e1856
Show file tree
Hide file tree
Showing 3 changed files with 1,983 additions and 1 deletion.
3 changes: 3 additions & 0 deletions elife/jenkins-scripts/tests/test_verifyjunitxml.py
Expand Up @@ -6,6 +6,9 @@ class TestVerifyJunitXml(unittest.TestCase):
def test_failed_test_case_with_no_top_level_errors_and_failures_count(self):
self.assertEqual(17, verify("tests/failed-test-suite.junit.xml"))

def test_warnings_present_are_counted_as_errors(self):
self.assertEqual(2, verify("tests/warnings.junit.xml"))

def test_running_script_passing_in_filename_returns_number_of_errors_and_failures_as_exit_code(self):
self.assertEqual(
17,
Expand Down

1 comment on commit 35e1856

@thewilkybarkid
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is workaround for sebastianbergmann/phpunit#2246.

Please sign in to comment.