docteurklein/funk-spec

a test runner

0.1.3 2017-12-01 15:09 UTC

This package is not auto-updated.

Last update: 2024-09-28 15:08:25 UTC


README

What ?

A functional/system/integration test framework based on Behat/Testwork.

Why ?

User acceptance tests shouldn't include technical details,
but it doesn't mean some technical parts of the app shouldn't be independantly tested.

Moreover, some intermediate modules could be tested, standing between unit and system testing.

How ?

composer require docteurklein/funk-spec --dev
vim funk/Feature/That/DoesStuff/ProfitsTo/Customer.php
vendor/bin/funk funk
<?php

namespace funk\Feature\That\DoesStuff\ProfitsTo;

use Funk\Spec;

class Customer implements Spec
{
    function it_simplifies_customers_life()
    {
        // pic or it didn't happen!
    }
}

img