dhii/simple-test

A simple unit testing framework, for inclusion with other tools.

v0.1.1 2016-11-15 17:40 UTC

This package is auto-updated.

Last update: 2024-10-07 03:12:55 UTC


README

Build Status Code Climate Test Coverage

A simple, lightweight, standards-compliant, object-oriented testing framework, made for use with PHP.

Features

  • Use directly from PHP, no need for CLI wrappers;
  • Can produce text output similar to that of other CLI testing frameworks;
  • A granular approach to how or which tests to add;
  • A queriable result report that exposes granular details of test resutls;
  • Simple assertions, providing an extensible entry point for limitless complexity;
  • No need to depend on any concrete implementation - see project dependencies;
  • Loosely-coupled code via traditional dependency injection.
  • Clear separation of concerns;
  • Clear public API and implementation thereof.

Planned

  • Add more assertions, perhaps OOP style - via callable classes;
  • Add and test support for mocking frameworks;
  • Make a stable release;
  • Re-factor using features of PHP 5.6 and make a separate stable release.