Xunit.Runner.Http
0.1.0
See the version list below for details.
dotnet add package Xunit.Runner.Http --version 0.1.0
NuGet\Install-Package Xunit.Runner.Http -Version 0.1.0
<PackageReference Include="Xunit.Runner.Http" Version="0.1.0" />
paket add Xunit.Runner.Http --version 0.1.0
#r "nuget: Xunit.Runner.Http, 0.1.0"
// Install Xunit.Runner.Http as a Cake Addin #addin nuget:?package=Xunit.Runner.Http&version=0.1.0 // Install Xunit.Runner.Http as a Cake Tool #tool nuget:?package=Xunit.Runner.Http&version=0.1.0
Xunit.Runner.Http
Enables you to run your tests via http requests.
Usage
In order to use this library you'll need to turn your test project into Microsoft.NET.Sdk.Web
project and add a Program.cs
file that creates a web app. Then you'll need to:
Register the test runner with dependency injection:
services.AddXunitHttpTestRunner(typoef(MyTestAssembly).Assembly);
Tell the application to use the test runner:
app.UseXunitHttpTestRunner();
Now when you run the project you should get a swagger with all of your test methods listed as Get methods.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- xunit (>= 2.4.2)
- xunit.runner.utility (>= 2.6.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-merge.18 | 1,869 | 5/6/2024 |
2.0.0-latest-xunit.17 | 70 | 5/6/2024 |
0.1.0 | 584 | 12/11/2023 |