Update tests to use official xunit

This commit is contained in:
Brennan 2014-12-15 15:17:07 -08:00
parent f958bbf774
commit 4ad0f41eea
3 changed files with 6 additions and 6 deletions

View File

@ -2,13 +2,13 @@
"dependencies": { "dependencies": {
"Microsoft.AspNet.Hosting": "1.0.0-*", "Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.RequestContainer": "1.0.0-*", "Microsoft.AspNet.RequestContainer": "1.0.0-*",
"Xunit.KRunner": "1.0.0-*" "xunit.runner.kre": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"aspnet50": { } "aspnet50": { }
}, },
"commands": { "commands": {
"test": "Xunit.KRunner" "test": "xunit.runner.kre"
}, },
"webroot": "testroot" "webroot": "testroot"
} }

View File

@ -23,8 +23,8 @@ namespace Microsoft.AspNet.TestHost
// Arrange // Arrange
var services = HostingServices.Create().BuildServiceProvider(); var services = HostingServices.Create().BuildServiceProvider();
// Act & Assert // Act & Assert (Does not throw)
Assert.DoesNotThrow(() => TestServer.Create(services, app => { })); TestServer.Create(services, app => { });
} }
[Fact] [Fact]

View File

@ -1,10 +1,10 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.TestHost": "1.0.0-*", "Microsoft.AspNet.TestHost": "1.0.0-*",
"Xunit.KRunner": "1.0.0-*" "xunit.runner.kre": "1.0.0-*"
}, },
"commands": { "commands": {
"test": "Xunit.KRunner" "test": "xunit.runner.kre"
}, },
"frameworks": { "frameworks": {
"aspnet50": { } "aspnet50": { }