AppBrix.Testing.xUnit
0.44.0
See the version list below for details.
dotnet add package AppBrix.Testing.xUnit --version 0.44.0
NuGet\Install-Package AppBrix.Testing.xUnit -Version 0.44.0
<PackageReference Include="AppBrix.Testing.xUnit" Version="0.44.0" />
paket add AppBrix.Testing.xUnit --version 0.44.0
#r "nuget: AppBrix.Testing.xUnit, 0.44.0"
// Install AppBrix.Testing.xUnit as a Cake Addin #addin nuget:?package=AppBrix.Testing.xUnit&version=0.44.0 // Install AppBrix.Testing.xUnit as a Cake Tool #tool nuget:?package=AppBrix.Testing.xUnit&version=0.44.0
AppBrix
AppBrix is a way of thinking about and building scalable modular applications.
This framework is using the latest version of .NET.
AppBrix has been created with the following priorities:
- Everything should be testable.
- Interfaces should be easy to understand and use.
- Every part of the framework should be easily replaceable without changing the original source code.
Setup
# Clone project locally.
git clone git@github.com:MarinAtanasov/AppBrix.git
# Go to project root directory.
cd AppBrix
# Restore nuget dependencies and build the solution.
dotnet build AppBrix.sln
Running Tests
The tests are using xUnit.
- In Visual Studio, Test Explorer must be opened before building test projects in order to discover the tests.
- In JetBrains Rider, they can be run with right click on Tests solution folder and selecting Run Unit Tests.
- In PowerShell, while in the project's root folder:
# You can add -Build to restore dependencies and build the solution.
# You can add -Release to use the Release configuration instead of Debug.
# Run functional tests (default). Add -Parallel for parallel execution.
./Test.ps1 -tests Functional # ./Test.ps1
# Run performance tests
./Test.ps1 -tests Performance # ./Test.ps1 p
# Run all tests
./Test.ps1 -tests All # ./Test.ps1 a
Publishing packages
Packaging and publishing of a new version of all projects can be done using PowerShell. It requires Nuget CLI to be set up locally with account API key.
./Publish.ps1
Sample Applications
AppBrix.ConsoleApp is a simple console application which uses the framework.
AppBrix.WebApp is a simple web application which uses the framework.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- AppBrix.Testing (>= 0.44.0)
- xunit (>= 2.6.6)
- xunit.runner.visualstudio (>= 2.5.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Upgrade .NET to 8.0.2.