Savonia.xUnit.Helpers
0.3.10
See the version list below for details.
dotnet add package Savonia.xUnit.Helpers --version 0.3.10
NuGet\Install-Package Savonia.xUnit.Helpers -Version 0.3.10
<PackageReference Include="Savonia.xUnit.Helpers" Version="0.3.10" />
paket add Savonia.xUnit.Helpers --version 0.3.10
#r "nuget: Savonia.xUnit.Helpers, 0.3.10"
// Install Savonia.xUnit.Helpers as a Cake Addin #addin nuget:?package=Savonia.xUnit.Helpers&version=0.3.10 // Install Savonia.xUnit.Helpers as a Cake Tool #tool nuget:?package=Savonia.xUnit.Helpers&version=0.3.10
Savonia.xUnit.Helpers
This package contains helper classes for xUnit tests mainly used to automatically evaluate and assess C# assignments.
Contains
- CSV data provider attribute to read theory test cases from a CSV file.
- JSON data provider attribute to read theory test cases from a JSON file.
- Abstract base classes for Console App testing and source code reading.
- Helper methods for string manipulation.
- Helper methods for HTML and HtmlClient for UI testing.
CSV and JSON data providers reads environment variable named TEST_DATA_PREFIX and adds the prefix value to the provided test data filename before loading the data. This is used to run the tests with different data for assignment evaluation.
Note about web testing
This package references specific version of AngleSharp to be compatible with bunit. bunit depends on AngleSharp.Diffing which in turn depends on AngleSharp.Css which has dependency on AngleSharp >= 0.17.0 and < 0.18.0.
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
- AngleSharp (>= 0.17.1)
- Microsoft.AspNetCore.Mvc.Testing (>= 6.0.16)
- Microsoft.NET.Test.Sdk (>= 17.5.0)
- Newtonsoft.Json (>= 13.0.3)
- NReco.Csv (>= 1.0.1)
- xunit (>= 2.4.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.