2017 © Pedro Peláez
 

library funit

A simple test suite for PHP 5.3+, partially inspired by QUnit.

image

mindplay/funit

A simple test suite for PHP 5.3+, partially inspired by QUnit.

  • Wednesday, February 5, 2014
  • by mindplay.dk
  • Repository
  • 1 Watchers
  • 3 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

mindplay-funit

A lightweight test suite for PHP 5.3+, (*1)

Based on FUnit by Ed Finkler., (*2)

Web-based report design based on QUnit., (*3)

Features

  • Simple to write tests and get output – start writing tests fast
  • Short, straightforward syntax
  • Command-line and browser-based reporting

Screenshots

Running in the browser:

Browser Report, (*4)

Running on the command-line:

Console Report, (*5)

Usage

An example test-suite demonstrates the API and usage., (*6)

Installation

Install with Composer

If you're using Composer to manage dependencies, you can add the test-suite as a development-time dependency:, (*7)

{
    "require-dev": {
        "mindplay/funit": ">=1.0"
    }
}

Install source from GitHub

To install the source code:, (*8)

git clone git://github.com/mindplay-dk/funit.git

And include it in your scripts:, (*9)

require_once '/path/to/funit/autoload.php';

Install source from zip/tarball

Alternatively, you can fetch a tarball or zipball:, (*10)

$ curl https://github.com/mindplay-dk/funit/tarball/master | tar xzv
(or)
$ wget https://github.com/mindplay-dk/funit/tarball/master -O - | tar xzv

Using a Class Loader

If you're using a class loader (e.g., Symfony Class Loader) for PSR-0-style class loading:, (*11)

$loader->registerNamespace('mindplay\funit', 'path/to/vendor/mindplay-funit');

The Versions

05/02 2014

dev-master

9999999-dev http://github.com/mindplay/funit

A simple test suite for PHP 5.3+, partially inspired by QUnit.

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3

 

test unit

03/06 2013

1.0.0

1.0.0.0 http://github.com/mindplay/funit

A simple test suite for PHP 5.3+, partially inspired by QUnit.

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3

 

test unit