[email protected] Posted April 26, 2013 Share Posted April 26, 2013 I'm looking at ways to do some functional and unit testing for the customisation we did to our Prestashop installation, and was wondering if anybody here has done some form of automated integration testing on their Prestashops? I've looked at possibilities like Selenium, Behat, PHPUnit etc, and particularly interested in having a solution where we can have tests that are capable of running from the command line. Any suggestions? Link to comment Share on other sites More sharing options...
ivan-garcia Posted July 8, 2015 Share Posted July 8, 2015 (edited) Hi Josef, I wrote an article ago talking about how to run PHPUnit tests in Prestashop(it's in spanish) in command line.I hope it will be useful for you http://www.ivan-garcia.com/blog/phpunit-en-prestashop/ Edited July 8, 2015 by razaro (see edit history) Link to comment Share on other sites More sharing options...
Jose.Antonio Posted July 31, 2015 Share Posted July 31, 2015 Hi Ivan, I'm quite interested in such topic but it turned out to be impossible to find useful information. I've read your article, and I couldn't find the PrestaShop's test classes you mention in it. Could you provide a link to get those files ( ModulePrestaShopPHPUnit.php , PrestaShopPHPUnit.php , and so on ) ? Thanks in advance Link to comment Share on other sites More sharing options...
ivan-garcia Posted August 1, 2015 Share Posted August 1, 2015 Hi Jose Antonio The classes I talk about in my article were included since version 1.6.0.7 to version 1.6.0.14. In Prestashop's newer version 1.6.1 folder and classes structure for doing tests has been changed Here you'll find the link to Prestashop's official github project for retrieve the files I talk about https://github.com/PrestaShop/PrestaShop/tree/1.6.0.14/tests Link to comment Share on other sites More sharing options...
Jose.Antonio Posted August 3, 2015 Share Posted August 3, 2015 Ok thanks! Link to comment Share on other sites More sharing options...
Recommended Posts