Spryker module for codeception

1.2.1 2021-09-14 11:07 UTC

README

CI PHP from Packagist Packagist

This module allows developers to test spryker modules isolated.

Installation

  1. Add the package to composer.json:

    composer require --dev fond-of-codeception/spryker
    
  2. Enable module in codeception.yml:

    ...
    modules:
      enabled:
        - ...
        - \FondOfCodeception\Module\Spryker
      config:
        \FondOfCodeception\Module\Spryker:
            generate_transfer: true|false # Default is true
            generate_map_classes: true|false # Default is true
            generate_propel_classes: true|false # Default is true
            supported_source_identifiers: [string] # Default is ['page']
    ...

Features

  • Generate (entity)transfer classes
  • Generate propel classes
  • Generate map classes
  • Initialize environment (constants like APPLICATION_ROOT_DIR will be created)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

Authors