headsnet / codeception-extras
Add various useful extra to Codeception
Installs: 2 012
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=7.2
- ext-json: *
- codeception/codeception: ^4.1
- codeception/module-asserts: ^1.0
- codeception/module-webdriver: ^1.0
- symfony/http-client: ^4.4 || ^5.0
Requires (Dev)
- phpunit/phpunit: ^8.5
- symplify/easy-coding-standard: ^8.1
This package is auto-updated.
Last update: 2024-11-13 23:44:09 UTC
README
This package provides extensions for the Codeception test framework.
Available Extensions
WebDriver extensions:
- JS Logger - log Javascript console messages
- Symfony Profiler URL - get Profile link for failed tests
- W3C HTML Validation - validate HTML source code
Other Extensions
- Wait After Test - add a delay after each test
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