Savonia.xUnit.Helpers 0.3.10

dotnet add package Savonia.xUnit.Helpers --version 0.3.10
NuGet\Install-Package Savonia.xUnit.Helpers -Version 0.3.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Savonia.xUnit.Helpers" Version="0.3.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Savonia.xUnit.Helpers --version 0.3.10
#r "nuget: Savonia.xUnit.Helpers, 0.3.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.3.10 18,693 4/26/2023
0.1.0 466 2/10/2023
0.0.31 240 2/8/2023
0.0.26 251 2/3/2023
0.0.22 268 1/24/2023
0.0.21 289 1/17/2023