Download the PHP package edno/codeception-dataprovider without Composer
On this page you can find all versions of the php package edno/codeception-dataprovider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download edno/codeception-dataprovider
More information about edno/codeception-dataprovider
Files in edno/codeception-dataprovider
Package codeception-dataprovider
Short Description Codeception extension for supporting data-driven tests
License MIT
Homepage https://github.com/edno/codeception-dataprovider
Informations about the package codeception-dataprovider
Codeception DataProvider
The Codeception extension for supporting dynamic data driven tests (CEST) using @dataprovider
annotation.
:bangbang: This extension is deprecated from Codeception 2.2.7. The @dataprovider
annotation is now a core feature of Codeception (see PR#3737)
:bangbang: If you are running Codeception 2.2.7, then remove this extension by deleting the corresponding line in composer.json
and your codeception.yml
. No update required for existing tests using @dataprovider
Minimum Requirements
- Codeception 2.2
- PHP 5.4
Installation
The extension can be installed using Composer
Be sure to enable the extension in codeception.yml
as shown in
configuration below.
Configuration
Enabling DataProvider annotation in your tests is done in codeception.yml
.
Usage
Once installed you will be to use the @dataprovider
annotation for defining the
method to be use for fetching the test data.
Your data source must be a public static function located within your test class.
The method should return data compliant with the @example
annotation.