Question

We are looking to start using testing for our builds and are looking at the best tools to use. I noticed there is a port of the Magento 2 tests https://github.com/techdivision/TechDivision_MagentoUnitTesting and had a bit of play around last night. There are a lot of skipped tests but it did work. I like the idea that we would be writing tests in the same way that Magento is heading, but I'm concerned that it's either going to change or the backport's missing functionality means it's not worthwhile.

Is it a good idea to use Magento 2 tests or would it be more beneficial to go with the Ecomdev PHPUnit? Are there any recommendations for other types of testing?

Was it helpful?

Solution

Magento has released the Magento Test Automation Framework with tests for CE 1.7.0.2 and it was also used by the community during the March 2013 bugathon where the CE 1.8 alpha was worked on by community developers.

I would suggest checking out the official MATF before attempting to use one of the community ports of the Magento 2.0 test suite, all of which were put together before Magento released their own back-ported version of the testing suite which they started using internally after having built it initially for Magento 2.0.

Here are some links with information on it:

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top