Jump to content

Testing a Prestashop site, using PHPUnit etc.


Recommended Posts

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

  • 2 years later...
  • 4 weeks later...

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

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

×
×
  • Create New...