docteurklein / funk-spec
a test runner
Installs: 29 696
Dependents: 3
Suggesters: 0
Security: 0
Stars: 11
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: >=5.4
- behat/behat: ~3.0
Requires (Dev)
- phpspec/phpspec: ~2.0 || ~3.0 || ~4.0
This package is not auto-updated.
Last update: 2024-10-26 15:34:18 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! } }