PHPackages                             n98/magerun2-test-framework - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. n98/magerun2-test-framework

ActiveLibrary[Testing &amp; Quality](/categories/testing)

n98/magerun2-test-framework
===========================

Test-Framework for n98-magerun2 commands

2.0.2(4y ago)03.5k↓50%1MITPHPPHP &gt;=7.3

Since Oct 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/netz98/n98-magerun2-test-framework)[ Packagist](https://packagist.org/packages/n98/magerun2-test-framework)[ Docs](http://netz98.github.com/n98-magerun2/)[ RSS](/packages/n98-magerun2-test-framework/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (9)Used By (1)

n98-magerun2 Test Framework
===========================

[](#n98-magerun2-test-framework)

This package contains some PHPUnit test cases.

Prerequisite
------------

[](#prerequisite)

The test runner requires a vanilla Magento 2 installation. To run test suite it's necessary to set the environment variable **N98\_MAGERUN2\_TEST\_MAGENTO\_ROOT** with the root path to the installation.

All unit tests run against this installation. Please don't use any production environment!

Test Module Commands
--------------------

[](#test-module-commands)

Example Test Case:

```
