nette/tester — pull request #123 by MartinMajor (2014-04-23 14:37:35+00:00)
Title: DataProvider can use default values of target method

This pull request allows to use named parameters in dataProvider. You can now also use default values of method's parameters.

ApiTests.php:
```php
/**
* Tests one API request
* @dataProvider api-calls.ini
*/
public function testRequest($url, $schema, $method = 'GET', $authenticated = FALSE, $headers = [])
{
// validates API response using schema
}
```

api-calls.ini
```ini
[search]
url = "/search/?q=hitchhiker%27s+guide+to+the+galaxy"
schema = search.json

[buy]
url = "/buy/42"
schema = buy.json
authenticated = TRUE
```