aedart/testing

This package is abandoned and no longer maintained. The author suggests using the aedart/athenaeum package instead.

Various testing utilities for php

2.3.0 2018-09-04 17:46 UTC

This package is auto-updated.

Last update: 2022-02-01 13:01:01 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

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