1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="functional" tests="4" assertions="23" failures="0" errors="0" time="0.267902">
<testcase name="About" file="/home/junichi11/NetBeansProjects/yii2-codeception/tests/codeception/functional/AboutCept.php" feature="ensure that about works" assertions="1" time="0.027862"/>
<testcase name="Contact" file="/home/junichi11/NetBeansProjects/yii2-codeception/tests/codeception/functional/ContactCept.php" feature="ensure that contact works" assertions="14" time="0.130678"/>
<testcase name="Home" file="/home/junichi11/NetBeansProjects/yii2-codeception/tests/codeception/functional/HomeCept.php" feature="ensure that home page works" assertions="3" time="0.017483"/>
<testcase name="Login" file="/home/junichi11/NetBeansProjects/yii2-codeception/tests/codeception/functional/LoginCept.php" feature="ensure that login works" assertions="5" time="0.091879"/>
</testsuite>
<testsuite name="unit" tests="4" assertions="2" failures="2" errors="1" time="0.174654">
<testcase name="testExec" class="App\FizzBuzz2Test" file="/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php" feature="test exec" assertions="0" time="0.055962"/>
<testcase name="testFailure" class="App\FizzBuzz2Test" file="/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php" feature="test failure" assertions="1" time="0.113672">
<failure type="PHPUnit_Framework_ExpectationFailedException">App\FizzBuzz2Test::testFailure
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ @@
App\FizzBuzz Object (
'start' => 0
- 'end' => 200
+ 'end' => 300
)
/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php:33
</failure>
</testcase>
<testcase name="testFailure2" class="App\FizzBuzz2Test" file="/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php" feature="test failure2" assertions="1" time="0.002331">
<failure type="PHPUnit_Framework_ExpectationFailedException">App\FizzBuzz2Test::testFailure2
Failed asserting that 2 matches expected 1.
/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php:37
</failure>
</testcase>
<testcase name="testError" class="App\FizzBuzz2Test" file="/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php" feature="test error" assertions="0" time="0.002690">
<error type="PHPUnit_Framework_ExceptionWrapper">App\FizzBuzz2Test::testError
Exception: my exception
/home/junichi11/NetBeansProjects/codeception/tests/unit/App/FizzBuzz2Test.php:42
</error>
</testcase>
</testsuite>
<testsuite name="acceptance" tests="1" assertions="2" failures="1" errors="0" time="0.018758">
<testcase name="Welcome" file="/home/junichi11/NetBeansProjects/codeception/tests/acceptance/WelcomeCept.php" feature="ensure that frontpage works" assertions="2" time="0.018758">
<failure type="PHPUnit_Framework_ExpectationFailedException">ensure that frontpage works (WelcomeCept)
Failed asserting that <bold>/</bold>
--> <info><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Home</title>
</head>
<body>
</body>
</html>
</info>
--> contains "welcome".
/home/junichi11/NetBeansProjects/codeception/tests/_support/_generated/AcceptanceTesterActions.php:257
/home/junichi11/NetBeansProjects/codeception/tests/acceptance/WelcomeCept.php:6
</failure>
</testcase>
</testsuite>
</testsuites>
|