Using xunit.runner.aspnet

This commit is contained in:
Suhas Joshi 2015-03-12 17:58:00 -07:00
parent 9175e6366c
commit f0db23be0d
5 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@
"EntityFramework.InMemory": "7.0.0-*",
"Microsoft.Framework.OptionsModel" : "1.0.0-*",
"System.Security.Claims": "1.0.0-*",
"xunit.runner.kre": "1.0.0-*"
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
@ -21,6 +21,6 @@
}
},
"commands": {
"test": "xunit.runner.kre"
"test": "xunit.runner.aspnet"
}
}

View File

@ -11,7 +11,7 @@
"EntityFramework.SqlServer": "7.0.0-*",
"Microsoft.Framework.OptionsModel" : "1.0.0-*",
"System.Security.Claims": "1.0.0-*",
"xunit.runner.kre": "1.0.0-*"
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
@ -22,6 +22,6 @@
}
},
"commands": {
"test": "xunit.runner.kre"
"test": "xunit.runner.aspnet"
}
}

View File

@ -12,7 +12,7 @@
"Microsoft.Framework.DependencyInjection" : "1.0.0-*",
"Microsoft.Framework.OptionsModel" : "1.0.0-*",
"Moq": "4.2.1312.1622",
"xunit.runner.kre": "1.0.0-*"
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
@ -23,6 +23,6 @@
}
},
"commands": {
"test": "xunit.runner.kre"
"test": "xunit.runner.aspnet"
}
}

View File

@ -8,7 +8,7 @@
"Microsoft.Framework.ConfigurationModel" : "1.0.0-*",
"Microsoft.Framework.DependencyInjection" : "1.0.0-*",
"Microsoft.Framework.OptionsModel" : "1.0.0-*",
"xunit.runner.kre": "1.0.0-*"
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
@ -19,6 +19,6 @@
}
},
"commands": {
"test": "xunit.runner.kre"
"test": "xunit.runner.aspnet"
}
}

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNet.Identity.Test
{
int priority = 0;
foreach (IAttributeInfo attr in testCase.TestMethod.Method.GetCustomAttributes((typeof(TestPriorityAttribute))))
foreach (IAttributeInfo attr in testCase.TestMethod.Method.GetCustomAttributes((typeof(TestPriorityAttribute)).AssemblyQualifiedName))
priority = attr.GetNamedArgument<int>("Priority");
GetOrCreate(sortedMethods, priority).Add(testCase);