Timeline for How run unittest using EcomDev_PHPUnit module?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 13, 2016 at 13:31 | history | suggested | goivvy.com | CC BY-SA 3.0 |
ecomdev is down
|
Dec 13, 2016 at 12:53 | review | Suggested edits | |||
S Dec 13, 2016 at 13:31 | |||||
Dec 8, 2015 at 11:25 | comment | added | Ricardo Martins | The key here is to run "phpunit" at the main folder, not at /shell. You usually follow the steps in the example, but they simply doesn't tell you to go back to main path. :) | |
May 14, 2013 at 16:30 | comment | added | Alex | Okay - that is one of the tests which are integrated in EcomDev itself that fails. But having a look at the line github.com/EcomDev/EcomDev_PHPUnit/blob/master/app/code/… it seems that EcomDev can not load the matching expection file from github.com/EcomDev/EcomDev_PHPUnit/blob/master/app/code/…. (Expected is empty, but actual has data) | |
May 14, 2013 at 14:25 | comment | added | Anthony | thanks for your help! Phpunit works, I just installed another packages. But phpunit still has an error: codepad.org/k7lmQucJ. (I didn't create any test for a while) What is the problem colud be here? | |
May 14, 2013 at 13:46 | vote | accept | Anthony | ||
May 14, 2013 at 8:14 | comment | added | Alex | Looks like you hit a problem with unit testing Magento. Can you install the PHPunit php-invoker package? Maybe this is related: github.com/sebastianbergmann/phpunit/pull/754 | |
May 14, 2013 at 8:07 | comment | added | Anthony | For some reason I got an error then: Fatal error: Uncaught exception 'Exception' with message 'Warning: include(PHP/Invoker.php)' | |
May 14, 2013 at 7:19 | history | answered | Alex | CC BY-SA 3.0 |