EcomDev / Ecomdev_phpunit
Licence: osl-3.0
Magento PHPUnit Integration
Projects that are alternatives of or similar to Ecomdev phpunit
phakePHP Mocking Framework
Stars: ✭ 464 (+52.13%)
Mutual labels: phpunit
InventoryMagento Inventory Project (a.k.a MSI)
Stars: ✭ 270 (-11.48%)
Mutual labels: magento
TesterTester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
Stars: ✭ 281 (-7.87%)
Mutual labels: phpunit
magento-address-autocompleteA Magento module that uses the Google Places API to populate the address fields on the checkout.
Stars: ✭ 14 (-95.41%)
Mutual labels: magento
Mage Enhanced Admin Grids[ARCHIVED] Enhanced Admin Grids extension for Magento 1. WIP version available for testing.
Stars: ✭ 258 (-15.41%)
Mutual labels: magento
GuzzlerSupercharge your app or SDK with a testing library specifically for Guzzle
Stars: ✭ 272 (-10.82%)
Mutual labels: phpunit
Magento-QuickorderMagento Quickorder module, enables bulk order creation by inputting SKUs & quantities.
Stars: ✭ 30 (-90.16%)
Mutual labels: magento
React StorefrontReact Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, Apache-2.0 license. Join us as contributor ([email protected]).
Stars: ✭ 292 (-4.26%)
Mutual labels: magento
XbruteforcerX Brute Forcer Tool 🔓 WordPress , Joomla , DruPal , OpenCart , Magento
Stars: ✭ 261 (-14.43%)
Mutual labels: magento
Magento2 Gmail Smtp AppConfigure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
Stars: ✭ 281 (-7.87%)
Mutual labels: magento
installer-m2Universal extension installer for Magento 2, see introductory blog post here
Stars: ✭ 27 (-91.15%)
Mutual labels: magento
Simple Magento VagrantA VERY simple Magento environment provisioner for Vagrant
Stars: ✭ 257 (-15.74%)
Mutual labels: magento
React StorefrontBuild and deploy e-commerce progressive web apps (PWAs) in record time.
Stars: ✭ 275 (-9.84%)
Mutual labels: magento
magento2-module-ordergridThe Order Grid module adds more details to the order grid in the admin.
Stars: ✭ 54 (-82.3%)
Mutual labels: magento
Wp Dev Lib🛠️ Common code used during development of WordPress plugins and themes
Stars: ✭ 271 (-11.15%)
Mutual labels: phpunit
AnonymizerUniversal tool to anonymize database. GDPR (General Data Protection Regulation) data protection act supporting tool.
Stars: ✭ 303 (-0.66%)
Mutual labels: magento
CleancheckoutA drop-in replacement for the Magento 2 checkout.
Stars: ✭ 280 (-8.2%)
Mutual labels: magento
Magento PHPUnit Integration
Magento is a quite complex platform without built in unit test suite, so the code is not oriented on running tests over it.
This extension was created especially for resolving this problem and promoting test driven development practices in Magento developers community. It doesn't change core files or brake your Magento instalment database, because all the system objects are replaced during the run-time with the test ones and a separate database connection is used for tests.
System Requirements
- PHP 5.3 or higher
- PHPUnit 3.7.x
- Magento CE1.4.x-1.7.x/PE1.9.x-PE1.10.x/EE1.9.x-1.12.x
Build Status
- Latest Release:
- Development Branch:
Documentation
Also you may follow our related blogposts.
Installation
-
There are two ways of obtaining the extension:
modman clone git://github.com/EcomDev/EcomDev_PHPUnit.git
-
Open your terminal and navigate to your magento directory for performing the following command, they are required to configure system for running the test suite
# Shell scripts needs to be run from this directory
cd $YOUR_MAGENTO_DIRECTORY/shell
# Specify your test database name and base url for controller tests
php ecomdev-phpunit.php -a magento-config --db-name $DB_NAME --base-url http://your.magento.url/
If you receive a warning on PHPUnit checks for optional packages, run the following command
php ecomdev-phpunit.php -a fix-autoloader
-
Run the unit tests first time for installing test database. It will take about 3 minutes.
$ phpunit
-
If it shows that there was no tests found, it means that extension was successfully installed. If it shows some errors, then it means, that your customizations has install scripts that relay on your current database data and you should fix them. Or use your dev database as a base for the tests, but prior first time running the suite.
Issue Tracker
We use github issue tracker only for contributions management. If you want to post an issue please use our Issue Tracker
Contributions
If you want to take a part in improving our extension please create branches based on dev one.
###Create your contribution branch:
$ git checkout -b [your-name]/[feature] dev
Then submit them for pull request.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected].