headsnet/codeception-extras

Add various useful extra to Codeception

v0.1.1 2021-10-13 16:29 UTC

This package is auto-updated.

Last update: 2024-04-13 22:26:08 UTC


README

Build Status Latest Stable Version Total Downloads License

This package provides extensions for the Codeception test framework.

Available Extensions

WebDriver extensions:

Other Extensions

Requirements

  • PHP >=7.2
  • Codeception

Installation

Install the package via Composer

composer require --dev headsnet/codeception-extras

For extensions that require it, configure the WebDriver module.

WebDriver:
    url: 'http://myapp.com'
    browser: chrome
    host: chrome
    port: 4444
    window_size: false
    capabilities:
        webStorageEnabled: true
        javascriptEnabled: true
        'goog:loggingPrefs':
            performance: 'ALL'
        'goog:chromeOptions':
            perfLoggingPrefs:
                enableNetwork: true

Contributing

Contributions are welcome. Please submit pull requests with one fix/feature per pull request.

Composer scripts are configured for your convenience:

> composer test       # Run test suite
> composer cs         # Run coding standards checks
> composer cs-fix     # Fix coding standards violations
> composer static     # Run static analysis with Phpstan