The main extension purpose is to provide an ability to execute some platform operations during the Magento acceptance testing: fixtures generation, settings change, manipulation with entities etc. This extension should not be used on production environment since it uses controllers accessible by direct URLs without authentication.
- Flush cache
- Create test product
- Remove test product
- Remove customer by email TBM
- Download the package contents
- Put
app
directory from package into your Magento root directory (without overwriting files)
- Install Modman package manager.
- Run the following commands in console:
cd /var/www # Magento is installed here
modman init
modman clone git@github.com:rogyar/magento1-acceptance-helper.git
All operations are being processed by direct links.
http://your.site.com/index.php/acceptancehelper/index/clearcache
http://your.site.com/index.php/acceptancehelper/index/removecustomer/email/customer%40email.com
customer%40email.com
here is an "url_encoded" email string.
http://your.site.com/index.php/acceptancehelper/index/createproduct
Product details can be adjusted directly in Helper/Product.php
.
http://your.site.com/index.php/acceptancehelper/index/removeproduct
This command will remove product created by the "Add Product" command.