Spryker module for codeception

2.4.1 2024-11-11 15:44 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
    
    1. 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
              generate_ide_auto_completion: true|false # Default is true
              supported_source_identifiers: [string] # Default is ['page']
              ide_auto_completion_source_directories: [string => string] # Default is empty but it got merged with Spryker default paths
                   './bundles/*/src/': '*/*/' # Example value with wildcard
      ...

Features

  • Generate (entity)transfer classes
  • Generate propel classes
  • Generate map classes
  • Generate ide auto completion
  • 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