I want to use the Magento Test Automation Framework to create a Smoke Test Suite, i.e. a test suite that quickly tests a cross section of the store to check for serious errors, not to test the correct behaviour of all features.
The included test suite does not serve this purpose well, it tests the shop very thoroughly and creates test data for each test by foot in the backend (which takes way too much time).
Writing custom tests for my test suite is not a problem, but I also would like to optimize the creation of test data.
My tests will run on the same machine as the SUT, so it seems natural to create a test fixture directly in the database instead of using Selenium. Now my question is: Is there a clean way to integrate the fixture system of EcomDev_PHPUnit into TAF?
The problem is that the fixture is coupled to EcomDev_PHPUnit_Test_Case
and the TAF tests have to extend Mage_Selenium_TestCase
. I would like to use EcomDev_PHPUnit_Model_Fixture
as a standalone component, is that possible? Or are there better ways to create database fixtures for a TAF test suite?