floor9design/testing-tools

Classes to help with unit testing

1.5.0 2023-03-01 12:14 UTC

This package is auto-updated.

Last update: 2024-03-29 17:09:19 UTC


README

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