2017 © Pedro Peláez
 

library phpspec-bootstrap-magento2

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

image

nagno/phpspec-bootstrap-magento2

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  • Wednesday, September 6, 2017
  • by nagno
  • Repository
  • 0 Watchers
  • 5 Stars
  • 8,662 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 6 Versions
  • 48 % Grown

The README.md

Compatibility

You need at least Magento 2.3 to use this version of the tool., (*1)

Purpose of the tools

This tool bootstraps Magento2 with it's object manager factory, so every new dynamic class request will go through it and it will be created by Magento before phpspec tries to use it, (*2)

Installation instructions

Add the repository into your composer.json file using the following command:, (*3)

composer config repositories.nagno git https://github.com/nagno/phpspec-bootstrap-magento2.git

Install the package:, (*4)

composer require nagno/phpspec-bootstrap-magento2 --dev

Add these lines to phpspec.yml:, (*5)

extensions:
    Nagno\Phpspec\BootstrapMagento2\Bootstrap: ~

Compatibilty with PhpSpec

This tool is compatible with PhpSpec 2, 4, 5 and 6., (*6)

PhpSpec Version Bootstrap Magento2 Version
2.x 1.x
4.x 2.x
5.x 3.x
6.x 3.x

The Versions

06/09 2017

dev-master

9999999-dev

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy

06/09 2017

2.0.0

2.0.0.0

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy

06/09 2017

1.0.x-dev

1.0.9999999.9999999-dev

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy

25/10 2016

1.1.0

1.1.0.0

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy

22/08 2015

1.0.1

1.0.1.0

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy

22/08 2015

1.0.0

1.0.0.0

Bootstraps Mage2 for phpspec before the tests are running so the dinamically generated classes will work

  Sources   Download

MIT

The Requires

 

by Norbert Nagy