jdwil/unify

Maintainers

Details

github.com/jdwil/unify

Source

Issues

Installs: 12

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

0.1.1-alpha 2017-11-11 13:19 UTC

This package is not auto-updated.

Last update: 2022-06-25 16:06:31 UTC


README

What's this thing?

Unify is a tool meant to make your life easier. It allows you to write tests and documentation at the same time, greatly reducing the time and effort spent delivering software. Unify makes a great complement to BDD processes and tools, like Behat. Behat is a fantastic way to document your system with regression testing. Unify aims to fill a similar niche, but on the unit and integration testing side, with a more developer-centric bent.

Example

Below is an actual test. While intentionally simple, when Unify is run on its own project documentation, it will evaluate the code block below and assert that $x does, in fact, equal 'Zm9v'.

<?php

$x = Encoder::encode('foo'); // $x is 'Zm9v'

class Encoder
{
    public static function encode($string)
    {
        return base64_encode($string);
    }
}

Documentation

The full user documentation can be found here.

The full developer documentation can be found here.

Roadmap

See the current roadmap here

Credits

Like most FOSS, this library was built on the backs of some incredible community projects. Special thanks to everyone involved in the projects below: