Bring your user and service stories to life through your tests.
This project is no longer maintained by DataSift.
Storyplayer should be installed via Composer. To install Storyplayer, create a composer.json
file with the following contents:
{
"require": {
"datasift/storyplayer": "~2.0"
}
}
Then, run composer install
. Once that's completed, run ./vendor/bin/storyplayer install
to install any additional dependencies.
If your tests need a web browser, make sure you've started browsermob-proxy and selenium:
./vendor/bin/browsermob-proxy.sh start
./vendor/bin/selenium-server.sh start
Basic usage is:
./vendor/bin/storyplayer <story>
where:
<story>
is the path to the PHP file containing your story and its test
You'll find our docs at http://datasift.github.io/storyplayer. They're currently a work-in-progress.
Contributions are most welcome.
- Fork on GitHub
- Create a feature branch
- Commit your changes with tests
- New feature? Send a pull request against the
develop
branch. - Bug fix? Send a pull request against the
master
branch.
Please don't break backwards-compatibility :)
New BSD license. Full details are in the LICENSE.txt file.