Download the PHP package codeception/stub without Composer
On this page you can find all versions of the php package codeception/stub. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download codeception/stub
More information about codeception/stub
Files in codeception/stub
Download codeception/stub
More information about codeception/stub
Files in codeception/stub
Vendor codeception
Package stub
Short Description Flexible Stub wrapper for PHPUnit's Mock Builder
License MIT
Package stub
Short Description Flexible Stub wrapper for PHPUnit's Mock Builder
License MIT
Please rate this library. Is it a good library?
Informations about the package stub
Codeception\Stub
Library on top of PHPUnit's mock builder providing a highly simplified syntax:
Reference
- Stub - creating stub classes using static methods
- Stub Trait - creating stubs and mocks using trait
- Expected - defining expectations for mocks
Install
Enabled by default in Codeception. For PHPUnit install this package:
Stubs
Stubs can be constructed with Codeception\Stub
static calls:
Alternatively, stubs can be created by using Codeception\Test\Feature\Stub
trait:
Mocks
Mocks should be created by including Codeception\Test\Feature\Stub
trait into a test case.
Execution expectation are set with Codeception\Stub\Expected
:
License
MIT
All versions of stub with dependencies
PHP Build Version
Package Version
The package codeception/stub contains the following files
Loading the files please wait ....