jdwil / unify
Installs: 12
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- ext-xdebug: ^2.0
- nikic/phlexy: ^0.1.0
- phpunit/php-code-coverage: ^5.2
- react/child-process: ^0.5
- react/socket: ^0.8.0
- symfony/config: ^3.3
- symfony/console: ^3.3
- symfony/dependency-injection: ^3.3
- symfony/expression-language: ^3.3
- symfony/finder: ^3.3
- symfony/process: ^3.3
- symfony/yaml: ^3.3
This package is not auto-updated.
Last update: 2025-03-30 06:35:00 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: