Skip to content

Commit 9975d1a

Browse files
committed
Updated name to MyTested.WebApi
1 parent 14496df commit 9975d1a

File tree

317 files changed

+23
-30299
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+23
-30299
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,4 @@ FakesAssemblies/
194194
*.plg
195195

196196
# Visual Studio 6 workspace options file
197-
*.opt
198-
199-
website
197+
*.opt

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
MyWebApi is intended to be used in both open-source and commercial environments. To allow its use in as many
2-
situations as possible, MyWebApi is dual-licensed. You may choose to use MyWebApi under either the Apache License,
3-
Version 2.0, or the Microsoft Public License (Ms-PL). These licenses are essentially identical, but you are
4-
encouraged to evaluate both to determine which best fits your intended use.
1+
MyTested.WebApi is intended to be used in both open-source and commercial environments. To allow its use in as many
2+
situations as possible, MyTested.WebApi is dual-licensed. You may choose to use MyTested.WebApi under
3+
either the Apache License, Version 2.0, or the Microsoft Public License (Ms-PL). These licenses are essentially
4+
identical, but you are encouraged to evaluate both to determine which best fits your intended use.
55

66
-----
77

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
<h1><img src="https://raw.githubusercontent.com/ivaylokenov/MyWebApi/master/documentation/logo.png" align="left" alt="MyWebApi" width="100">&nbsp;&nbsp;&nbsp; MyWebApi - ASP.NET Web API <br />&nbsp;&nbsp;&nbsp; Fluent Testing Framework</h1>
1+
<h1><img src="https://raw.githubusercontent.com/ivaylokenov/MyTested.WebApi/master/documentation/logo.png" align="left" alt="MyTested.WebApi" width="100">&nbsp;&nbsp;&nbsp; MyTested.WebApi - ASP.NET Web API <br />&nbsp;&nbsp;&nbsp; Fluent Testing Framework</h1>
22
====================================
33

4-
MyWebApi is unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with the testing library of your choice (e.g. NUnit, xUnit, etc.). Inspired by [ChaiJS](https://github.com/chaijs/chai).
4+
MyTested.WebApi is unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with the testing library of your choice (e.g. NUnit, xUnit, etc.). Inspired by [ChaiJS](https://github.com/chaijs/chai).
55

6-
[![Build status](https://ci.appveyor.com/api/projects/status/738pm1kuuv7yw1t5?svg=true)](https://ci.appveyor.com/project/ivaylokenov/mywebapi) [![NuGet Version](http://img.shields.io/nuget/v/MyWebApi.svg?style=flat)](https://www.nuget.org/packages/MyWebApi/) [![NuGet Downloads](http://img.shields.io/nuget/dt/MyWebApi.svg?style=flat)](https://www.nuget.org/packages/MyWebApi/) [![Coverage Status](https://coveralls.io/repos/ivaylokenov/MyWebApi/badge.svg?branch=master&service=github&v=2)](https://coveralls.io/github/ivaylokenov/MyWebApi?branch=master)
6+
[![Build status](https://ci.appveyor.com/api/projects/status/738pm1kuuv7yw1t5?svg=true)](https://ci.appveyor.com/project/ivaylokenov/mywebapi) [![NuGet Version](http://img.shields.io/nuget/v/MyTested.WebApi.svg?style=flat)](https://www.nuget.org/packages/MyTested.WebApi/) [![NuGet Downloads](http://img.shields.io/nuget/dt/MyTested.WebApi.svg?style=flat)](https://www.nuget.org/packages/MyTested.WebApi/) [![Coverage Status](https://coveralls.io/repos/ivaylokenov/MyTested.WebApi/badge.svg?branch=master&service=github&v=2)](https://coveralls.io/github/ivaylokenov/MyTested.WebApi?branch=master)
77

88
## Documentation
99

10-
Please see the [documentation](https://github.com/ivaylokenov/MyWebApi/tree/master/documentation) for full list of available features. Everything listed in the documentation is 100% covered by [more than 800 unit tests](https://github.com/ivaylokenov/MyWebApi/tree/master/src/MyWebApi.Tests) and should work correctly. Almost all items in the [issues page](https://github.com/ivaylokenov/MyWebApi/issues) are expected future features and enhancements.
10+
Please see the [documentation](https://github.com/ivaylokenov/MyTested.WebApi/tree/master/documentation) for full list of available features. Everything listed in the documentation is 100% covered by [more than 800 unit tests](https://github.com/ivaylokenov/MyTested.WebApi/tree/master/src/MyTested.WebApi.Tests) and should work correctly. Almost all items in the [issues page](https://github.com/ivaylokenov/MyTested.WebApi/issues) are expected future features and enhancements.
1111

1212
## Installation
1313

14-
You can install this library using NuGet into your Test class project. It will automatically reference the needed dependencies of Microsoft.AspNet.WebApi.Core (≥ 5.1.0) and Microsoft.Owin.Testing (≥ 3.0.1) for you. .NET 4.5+ is needed. Make sure your solution has the same versions of the mentioned dependencies in all projects where you are using them. For example, if you are using Microsoft.AspNet.WebApi.Core 5.2.3 in your Web project, the same version should be used after installing MyWebApi in your Tests project.
14+
You can install this library using NuGet into your Test class project. It will automatically reference the needed dependencies of Microsoft.AspNet.WebApi.Core (≥ 5.1.0) and Microsoft.Owin.Testing (≥ 3.0.1) for you. .NET 4.5+ is needed. Make sure your solution has the same versions of the mentioned dependencies in all projects where you are using them. For example, if you are using Microsoft.AspNet.WebApi.Core 5.2.3 in your Web project, the same version should be used after installing MyTested.WebApi in your Tests project.
1515

16-
Install-Package MyWebApi
16+
Install-Package MyTested.WebApi
1717

1818
After the downloading is complete, just add `using MyTested.WebApi;` and you are ready to test in the most elegant and developer friendly way.
1919

2020
using MyTested.WebApi;
2121

2222
## How to use
2323

24-
Make sure to check out [the documentation](https://github.com/ivaylokenov/MyWebApi/tree/master/documentation) for full list of available features.
25-
You can also check out [the provided samples](https://github.com/ivaylokenov/MyWebApi/tree/master/samples) for real-life ASP.NET Web API application testing.
24+
Make sure to check out [the documentation](https://github.com/ivaylokenov/MyTested.WebApi/tree/master/documentation) for full list of available features.
25+
You can also check out [the provided samples](https://github.com/ivaylokenov/MyTested.WebApi/tree/master/samples) for real-life ASP.NET Web API application testing.
2626

2727
Basically you can create a test case by using the fluent API the library provides. You are given a static `MyWebApi` class from which all assertions can be easily configured.
2828

@@ -51,7 +51,7 @@ namespace MyApp.Tests.Controllers
5151
```
5252

5353
The example uses NUnit but you can use whatever testing framework you want.
54-
Basically, MyWebApi throws an unhandled exception if the assertion does not pass and the test fails.
54+
Basically, MyTested.WebApi throws an unhandled exception if the assertion does not pass and the test fails.
5555

5656
Here are some random examples of what the fluent testing API is capable of:
5757

@@ -141,12 +141,12 @@ MyWebApi
141141
Code by Ivaylo Kenov. Copyright 2015 Ivaylo Kenov.
142142

143143
This library is intended to be used in both open-source and commercial environments. To allow its use in as many
144-
situations as possible, MyWebApi is dual-licensed. You may choose to use MyWebApi under either the Apache License,
144+
situations as possible, MyTested.WebApi is dual-licensed. You may choose to use MyTested.WebApi under either the Apache License,
145145
Version 2.0, or the Microsoft Public License (Ms-PL). These licenses are essentially identical, but you are
146146
encouraged to evaluate both to determine which best fits your intended use.
147147

148-
Refer to [LICENSE](https://github.com/ivaylokenov/MyWebApi/blob/master/LICENSE) for detailed information.
148+
Refer to [LICENSE](https://github.com/ivaylokenov/MyTested.WebApi/blob/master/LICENSE) for detailed information.
149149

150150
## Any questions, comments or additions?
151151

152-
If you have a feature request or bug report, leave an issue on the [issues page](https://github.com/ivaylokenov/MyWebApi/issues) or send a [pull request](https://github.com/ivaylokenov/MyWebApi/pulls). For general questions and comments, use the [StackOverflow](http://stackoverflow.com/) forum.
152+
If you have a feature request or bug report, leave an issue on the [issues page](https://github.com/ivaylokenov/MyTested.WebApi/issues) or send a [pull request](https://github.com/ivaylokenov/MyTested.WebApi/pulls). For general questions and comments, use the [StackOverflow](http://stackoverflow.com/) forum.

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: 1.2.{build}
22
before_build:
3-
- cmd: nuget restore src\MyWebApi.sln
3+
- cmd: nuget restore src\MyTested.WebApi.sln
44
build:
5-
project: src\MyWebApi.sln
5+
project: src\MyTested.WebApi.sln
66
parallel: true
77
verbosity: minimal
88
environment:
99
COVERALLS_REPO_TOKEN:
1010
secure: HJDQ+oupn7YinVAV3kdGhw/Bz4FxYNpATMYdjP0kiZEIIAaszku5T4CCDMbh2ZA2
1111
after_test:
12-
- src\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -filter:"+[*]*" -target:"src\packages\NUnit.Runners.2.6.4\tools\nunit-console.exe" -targetargs:"/noshadow /domain:single src\MyWebApi.Tests\bin\debug\MyWebApi.Tests.dll" -output:coverage.xml
12+
- src\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -filter:"+[*]*" -target:"src\packages\NUnit.Runners.2.6.4\tools\nunit-console.exe" -targetargs:"/noshadow /domain:single src\MyTested.WebApi.Tests\bin\debug\MyTested.WebApi.Tests.dll" -output:coverage.xml
1313
- src\packages\coveralls.io.1.3.4\tools\coveralls.net.exe --opencover coverage.xml

documentation/MyWebApi.1.1.2.nupkg

-89.8 KB
Binary file not shown.

documentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1><img src="https://raw.githubusercontent.com/ivaylokenov/MyWebApi/master/documentation/logo.png" align="left" alt="MyWebApi" width="100">&nbsp;&nbsp;&nbsp; MyWebApi - ASP.NET Web API <br />&nbsp;&nbsp;&nbsp; Fluent Testing Framework</h1>
1+
<h1><img src="https://raw.githubusercontent.com/ivaylokenov/MyTested.WebApi/master/documentation/logo.png" align="left" alt="MyTested.WebApi" width="100">&nbsp;&nbsp;&nbsp; MyTested.WebApi - ASP.NET Web API <br />&nbsp;&nbsp;&nbsp; Fluent Testing Framework</h1>
22
====================================
33

44
## Full list of available features

samples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MyWebApi Samples
1+
MyTested.WebApi Samples
22
====================================
33

44
Here you can find couple of working samples, which will get you started with the library. Currently added:
55

6-
- Books Web API - minimalistic sample showing how to use MyWebApi for unit testing controllers and routes as well as run full integration testing over in-memory OWIN web server for anonymous and authorized requests. The web project uses Ninject as dependency resolver and AutoMapper to map different kind of models. It should be enough to get you started.
6+
- Books Web API - minimalistic sample showing how to use MyWebApi for unit testing controllers and routes as well as run full integration testing over in-memory OWIN web server for anonymous and authorized requests. The web project uses Ninject as dependency resolver, AutoMapper to map different kind of models and NUnit as testing framework. It should be enough to get you started.

src/MyWebApi.Tests/BuildersTests/ActionsTests/ShouldHave/ShouldHaveActionAttributesTests.cs

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)