Sign inSign up

aheadworks/m2test

By aheadworks

Updated over 4 years ago

Dockerized tests runner for Magento 2 extensions

Image
0

10K+

aheadworks/m2test repository overview

docker-m2test

Image to run automatic tests against desired Magento 2 versions.

Supported tests type:

Usage

This image can be run agains folder with Magento 2 extension extension

Running unit and static tests

Run unit tests on extension folder against Magento 2.3 and PHP 7.2

docker run -v /local/folder/with/module:/data aheadworks/m2test:2.3-7.2 unit /data

Run static tests and collect test results in JUnit format

docker run -v /local/folder/with/module:/data -v /local/folder/for/results:/results aheadworks/m2test:2.2-7.1 static /data /results

Run unit tests and collect test results in JUnit format(result in /local/folder/for/results/unit-tests.xml

docker run -v /local/folder/with/module:/data -v /local/folder/for/results:/results aheadworks/m2test:2.2-7.1 unit /data /results/unit-tests.xml
Running EQP(Magento coding standard) tests

Run tests from Magento coding standard versus your extension

docker run -v /local/folder/with/module:/data aheadworks/m2test:2.3-7.2 eqp --report=full /data
Validating marketplace package
docker run -v /local/folder/with/module_zip:/data aheadworks/m2test validate_m2_package /data/module-name.zip

Tag summary

Content type

Image

Digest

Size

240.7 MB

Last updated

over 4 years ago

docker pull aheadworks/m2test:latest-backup