Skip to content

Commit 3288666

Browse files
committed
Updated README.md with IsUsing method in MyWebApi (closes #139)
1 parent 5ea8518 commit 3288666

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

documentation/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
### Table of contents
77

8-
- Initial configuration
8+
- Global configuration
9+
- [Using custom HttpConfiguration](#using-custom-httpconfiguration)
10+
- Test case configuration
911
- [Controller instantiation](#controller-instantiation)
1012
- [HTTP request message] (#http-request-message)
1113
- [Authenticated user](#authenticated-user)
@@ -35,6 +37,16 @@
3537
- Additional methods
3638
- [AndProvide... methods](#andprovide-methods)
3739

40+
### Using custom HttpConfiguration
41+
42+
You have the option to configure global HttpConfiguration to be used across all test cases:
43+
44+
```c#
45+
MyWebApi.IsUsing(httpConfiguration);
46+
```
47+
48+
[To top](#table-of-contents
49+
3850
### Controller instantiation
3951

4052
You have a couple of options from which you can setup the controller you want to test. The framework gives you static `MyWebApi` class from which the test builder starts:

0 commit comments

Comments
 (0)