forked from shopsys/http-smoke-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRouteConfig.php
More file actions
33 lines (29 loc) · 1.09 KB
/
RouteConfig.php
File metadata and controls
33 lines (29 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
namespace Shopsys\HttpSmokeTesting;
interface RouteConfig
{
/**
* Skips this route completely. Debug notes will be shown only when executing PHPUnit in verbose mode.
*
* @param string|null $debugNote
* @return $this
*/
public function skipRoute($debugNote = null);
/**
* Allows you to configure default data set of a request for this route. Debug notes will be shown on test failure.
*
* @param string|null $debugNote
* @return \Shopsys\HttpSmokeTesting\RequestDataSetConfig
*/
public function changeDefaultRequestDataSet($debugNote = null);
/**
* Adds a new request data set for this route and allows you to configure it. Debug notes will be shown on test failure.
*
* Changed configuration in the extra request data set will be merged with default data config overwriting it.
* Later changes to the default data set will not be discarded.
*
* @param string|null $debugNote
* @return \Shopsys\HttpSmokeTesting\RequestDataSetConfig
*/
public function addExtraRequestDataSet($debugNote = null);
}