codeception/phpunit-wrapper
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
phpunit/php-code-coverage | 5.3.2 | 421.63 kB | BSD-3-Clause | prod dev | 1 |
phpunit/phpunit | 6.5.12 | 483.15 kB | BSD-3-Clause | prod dev | 2 |
sebastian/comparator | 2.1.3 | 40.51 kB | BSD-3-Clause | prod dev | |
sebastian/diff | 2.0.1 | 31.89 kB | BSD-3-Clause | prod dev |
As an essential component of the Codeception testing framework, the codeception/phpunit-wrapper package plays a vital role in running and managing tests. This utility package extends or redefines PHPUnit classes that aren't fully compatible with Codeception's requirements. Therefore, the wrapper serves as a bridge, enabling seamless integration between Codeception and PHPUnit. Furthermore, the way it maintains its versions is quite systematic, implying that they follow the significant releases of PHPUnit.
Installation of codeception/phpunit-wrapper is fairly straightforward. It's a Composer package, which means installation is handled by simply running a Composer command. However, detailed usage or implementation wasn't provided on the provided readme. If the package follows typical Codeception usage conventions, the simple installation command would potentially look like this:
composer require codeception/phpunit-wrapper
After installation, the PHPUnit classes can be utilized within your Codeception tests. Though specifics may vary, the basic usage would appear similar to this:
<?php
use PHPUnit\Framework\Assert as PHPUnit;
$scenario->group('important');
$scenario->incomplete('This test is incomplete');
PHPUnit::assertEmpty(array());
Please note, you must first verify the exact usage from the documentation.
Due to the fact that this readme lacks comprehensive documentation, users interested in the codeception/phpunit-wrapper package should refer to the Codeception and PHPUnit official documentations. There, they may discover useful insights on how this package interactively works with the rest of the Codeception testing framework. Unfortunately, no dedicated documentation for codeception/phpunit-wrapper was found at the given GitHub repository. This enforces the importance of having familiarity with both Codeception and PHPUnit to effectively use this package.