Advertisement
Guest User

Weird PHPUnit output

a guest
Jun 24th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.57 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <testsuites>
  3.   <testsuite name="" tests="6" assertions="8" failures="4" errors="0" time="1.532042">
  4.     <testsuite name="Application Test Suite" tests="3" assertions="4" failures="2" errors="0" time="0.829770">
  5.       <testsuite name="ExampleTest" file="C:\xampp\htdocs\Test\tests\ExampleTest.php" tests="3" assertions="4" failures="2" errors="0" time="0.829770">
  6.         <testcase name="testBasicExample" class="ExampleTest" file="C:\xampp\htdocs\Test\tests\ExampleTest.php" line="14" assertions="2" time="0.388139"/>
  7.         <testcase name="testBlah" class="ExampleTest" file="C:\xampp\htdocs\Test\tests\ExampleTest.php" line="25" assertions="1" time="0.225403">
  8.           <failure type="PHPUnit_Framework_ExpectationFailedException">ExampleTest::testBlah
  9. Failed asserting that 2 matches expected 1.
  10.  
  11. C:\xampp\htdocs\Test\tests\ExampleTest.php:27
  12. </failure>
  13.         </testcase>
  14.         <testcase name="testTooting" class="ExampleTest" file="C:\xampp\htdocs\Test\tests\ExampleTest.php" line="35" assertions="1" time="0.216228">
  15.           <failure type="PHPUnit_Framework_ExpectationFailedException">ExampleTest::testTooting
  16. Failed asserting that an array has the key 'toot'.
  17.  
  18. C:\xampp\htdocs\Test\tests\ExampleTest.php:37
  19. </failure>
  20.         </testcase>
  21.       </testsuite>
  22.     </testsuite>
  23.     <testsuite name="Shooblie ma hooblie" tests="3" assertions="4" failures="2" errors="0" time="0.702272">
  24.       <testsuite name="ChooplieTest" file="C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php" tests="3" assertions="4" failures="2" errors="0" time="0.702272">
  25.         <testcase name="testSHARTTT" class="ChooplieTest" file="C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php" line="14" assertions="2" time="0.270819"/>
  26.         <testcase name="testPoopah" class="ChooplieTest" file="C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php" line="25" assertions="1" time="0.217017">
  27.           <failure type="PHPUnit_Framework_ExpectationFailedException">ChooplieTest::testPoopah
  28. Failed asserting that 2 matches expected 1.
  29.  
  30. C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php:27
  31. </failure>
  32.         </testcase>
  33.         <testcase name="testHootah" class="ChooplieTest" file="C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php" line="35" assertions="1" time="0.214436">
  34.           <failure type="PHPUnit_Framework_ExpectationFailedException">ChooplieTest::testHootah
  35. Failed asserting that an array has the key 'toot'.
  36.  
  37. C:\xampp\htdocs\Test\tests\vomit\ChooplieTest.php:37
  38. </failure>
  39.         </testcase>
  40.       </testsuite>
  41.     </testsuite>
  42.   </testsuite>
  43. </testsuites>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement