Skip to content

A repo offering a collection of quick testing methods and tools

License

Notifications You must be signed in to change notification settings

floor9design-ltd/testing-tools

Repository files navigation

testing-tools

Latest Version Packagist Software License

Build Status Build Status

Github Downloads Packagist Downloads

Introduction

This offers a set of easy testing tools useful for generating unit testing in PHPUnit.

Features

  • Easy installation
  • Simple and efficient classes

Install

Via Composer

composer require floor9design/testing-tools

Usage

Setup

These are a simple classes, so minimal setup is required. In a composer/PSR compliant system, this should be automatically included. If your system works another way, this can be manually included.

Note that they are namespaced, so should not clash with your other classes/methods.

Testing

To run the tests:

  • ./vendor/phpunit/phpunit/phpunit

Documentation and coverage can be generated as follows:

  • ./vendor/phpunit/phpunit/phpunit --coverage-html docs/tests/

Credits

Changelog

A changelog is generated here:

License