Codeception/Codeception — pull request #455 by verschoof (2013-07-24 10:09:07+00:00)
Title: Parameters for eatch suite

This pull request will allow you yo use parameters in the suite configuration.
Create a `api.suite.dist.yml` and ignore `api.suite.yml` in your version control.

Now everybody can have his own parameters.

Usage:
```yml
class_name: ApiGuy
modules:
enabled: [PhpBrowser, REST, ApiHelper, Db]
config:
PhpBrowser:
url: http://api.loc
REST:
url: http://api.loc
Db:
dsn: 'mysql:host=localhost;dbname=api'
user: user
password: password
dump: tests/_data/dump.sql
populate: true
cleanup: false

parameters:
apiUrl: http://api.loc
key: secret api key
format: JSON
```
I choose for the `*.suite.yml` files because this file is already developer specific.

And in each test you can do the next to get the parameters:
```php
$parameters = $this->getParameters();
$apiUrl = $parameters['apiUrl'];
```

Fixes: #453