IIS Express TestKit
C# Batchfile HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/IisExpressTestKit
test/IisExpressTestKit.Tests
tools
.gitattributes
.gitignore
IisExpressTestKit.sln
LICENSE
README.md
build.cmd

README.md

IIS Express TestKit

Build status License NuGet Version

Getting Started

  • Create new xUnit test project
  • Install package from NuGet
Install-Package IisExpressTestKit
  • Write test case
[Fact]
public void RewriteRulesTest()
{
    Iis.Request("/hoge")
       .IsPath("/translated/hoge")
       .IsStatusCode(HttpStatusCode.OK);

    Iis.Request("/hoge/foo/bar/baz")
       .IsPath("/translated/hoge/foo/bar/baz")
       .IsStatusCode(HttpStatusCode.OK);
}
  • Make happy :)

Test Result

  • Running AppVeyor CI

AppVeyor

License

Apache License 2.0