You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# MyWebApi - ASP.NET Web API Fluent Testing Framework
2
+
====================================
3
+
2
4
MyWebApi is unit testing framework providing easy fluent interface to test the ASP.NET Web API framework. Inspired by [TestStack.FluentMVCTesting](https://github.com/TestStack/TestStack.FluentMVCTesting) and [ChaiJS](https://github.com/chaijs/chai)
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.
13
+
14
+
```c#
15
+
// instantiates controller with parameterless constructor
16
+
MyWebApi
17
+
.Controller<WebApiController>();
18
+
19
+
// instantiates controller with constructor function to resolve dependencies
Leave an issue on the [issues page](https://github.com/ivaylokenov/MyWebApi/issues) or send a [pull request](https://github.com/ivaylokenov/MyWebApi/pulls).
0 commit comments