Download the PHP package mrgoodbytes8667/test-common-faker without Composer
On this page you can find all versions of the php package mrgoodbytes8667/test-common-faker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrgoodbytes8667/test-common-faker
More information about mrgoodbytes8667/test-common-faker
Files in mrgoodbytes8667/test-common-faker
Package test-common-faker
Short Description Faker providers
License CC-BY-NC-4.0
Informations about the package test-common-faker
test-common-faker
Provides a Faker test helper
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Open a command console, enter your project directory and execute:
Usage
Note: @var is helpful for IDE autocompletion
With PHPUnit
If you are using $faker
in every test, you can use TestFakerTrait
to setup/teardown $this->faker
before/after each test.
Declare $this->providers
as an array of additional providers beyond MiscProvider
to auto-add them when using this trait.
License
Test Common Faker by MrGoodBytes is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Based on a work at https://github.com/mrgoodbytes8667/test-common-faker.