Bug #16005 [Opn]: Unit test failures
| From: | daniel dot oconnor at gmail dot com | Date: | Mon, 23 Mar 2009 17:09:38 +0000 |
| Subject: | Bug #16005 [Opn]: Unit test failures | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-249@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16005&edit=1
ID: 16005
Updated by: daniel.oconnor@gmail.com
Reported By: daniel dot oconnor at gmail dot com
Summary: Unit test failures
Status: Open
Type: Bug
Package: Payment_Process2
Package Version: 0.1.0
PHP Version: 5.2.9
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: doconnor
Previous Comments:
------------------------------------------------------------------------
[2009-03-16 02:53:57] doconnor
Down to 5 failures - driver test coverage related
------------------------------------------------------------------------
[2009-03-16 02:01:14] doconnor
validate() is now successfully called in all of the right places.
Tests: 100, Assertions: 80, Failures: 8, Incomplete: 10.
------------------------------------------------------------------------
[2009-03-10 05:40:07] doconnor
Description:
------------
Tests: 99, Assertions: 80, Failures: 10, Incomplete: 10.
Test script:
---------------
phpunit tests\
Expected result:
----------------
Tests pass
Actual result:
--------------
C:\work\pear\pear\Payment_Process2>phpunit tests
PHPUnit 3.3.9 by Sebastian Bergmann.
....I.....F..F..F.II....F....I...F..F..F.....F...IFI........ 60 / 99
...FIIII...............................
Time: 0 seconds
There were 10 failures:
1)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_AuthorizeNetTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_AuthorizeNetTest.php:101
2)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_BibitTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_BibitTest.php:105
3) testShouldValidatePaymentsWhenSetting(Payment_Process2_CommonTest)
Expected an exception before this point
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_CommonTest.php:92
4) testShouldValidateAllFields2(Payment_Process2_CommonTest)
Expected an exception before this point
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_CommonTest.php:171
5)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_DummyTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_DummyTest.php:98
6)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_LinkPointTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_LinkPointTest.php:102
7)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_PaypalTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_PaypalTest.php:98
8)
testShouldRespectInternalSettingsWhenReadingMessages2(Payment_Process2_ResultTest)
expected string <No message reported>
difference < xxxxxxxx????>
got string <No message from gateway>
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_ResultTest.php:90
9)
testShouldValidateCorrectlyWithCcvCheck1(Payment_Process2_ResultTest)
Expected an exception
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_ResultTest.php:158
10)
testShouldFailGracefullyOnFailedTransaction(Payment_Process2_TransfirstTest)
Failed asserting that <boolean:false> is true.
C:\work\pear\pear\Payment_Process2\tests\Payment_Process2_TransfirstTest.php:102
FAILURES!
Tests: 99, Assertions: 80, Failures: 10, Incomplete: 10.
C:\work\pear\pear\Payment_Process2>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16005&edit=1