Logo: Relish

  1. Sign in

Project: Dspec

Execute a php bootstrap file

In order to bootstrap the test suite
As a developer
I want to specify a php file for bootstrapping

Scenarios
Specifying a bootstrap file

You can specify a file to be included before running your test suites via the command line switch -b.

Given
a file named "bootstrap.php" with:
<?php 
    echo 'dave';
When
I run dspec -b bootstrap.php
Then
the output should contain "dave"

Last published over 5 years ago by Dave Marshall.