aedart / testing
Various testing utilities for php
Installs: 1 137
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: >=7.1.0
- codeception/codeception: 2.4.*
- fzaninotto/faker: 1.7.*
- mockery/mockery: 1.*
Requires (Dev)
- aedart/license: 1.*
- aedart/license-file-manager: ~2.0
README
Deprecated - Testing
Package has been replaced by aedart/athenaeum
Various utilities for testing php code.
Contents
How to install
composer require aedart/testing
Quick start
Base Unit Test Case
The UnitTestCase
is an extended version of \Codeception\TestCase\Test
, which automatically setups Faker
and closes down Mockery
once a test has been executed.
<?php use Aedart\Testing\TestCases\Unit\UnitTestCase; class MyUnitTest extends UnitTestCase { // ... Remaining not shown ... // }
License
BSD-3-Clause, Read the LICENSE file included in this package