ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

strategies for testing magento modules #279

Open ruebenramirez opened 8 years ago

ruebenramirez commented 8 years ago

Functional/integration tests:

ruebenramirez commented 8 years ago

wire up phpunit inside of magento:

https://www.atwix.com/magento/php-unit-testing/

ruebenramirez commented 8 years ago

creating an order programmatically:

http://pastebin.com/8cft4d8v


https://gist.github.com/ruebenramirez/c12a71423b8f6947dd4ae52b519b0764

ruebenramirez commented 8 years ago

I found some more magento testing resources:

testing magento with casper.js (runs on phantom js which is a selenium alternative) http://inchoo.net/magento/magento-functional-testing-with-casper-js/

xtest - phpunit integrated into Magento: http://xtest-mage.com/

magento selenium testing: http://www.eschrade.com/page/magento-selenium-testing/

selenium functional testing via phpunit + webdriver https://github.com/magium/MagiumTutorials/tree/master/tutorials