AppBrix.Testing
0.56.0
dotnet add package AppBrix.Testing --version 0.56.0
NuGet\Install-Package AppBrix.Testing -Version 0.56.0
<PackageReference Include="AppBrix.Testing" Version="0.56.0" />
<PackageVersion Include="AppBrix.Testing" Version="0.56.0" />
<PackageReference Include="AppBrix.Testing" />
paket add AppBrix.Testing --version 0.56.0
#r "nuget: AppBrix.Testing, 0.56.0"
#addin nuget:?package=AppBrix.Testing&version=0.56.0
#tool nuget:?package=AppBrix.Testing&version=0.56.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
Run Tests
By default, tests are using MSTest, but NUnit and Xunit can be used instead.
- Using Visual Studio, Test Explorer must be opened before building test projects in order to discover the tests.
- Using JetBrains Rider, they can be run with right click on Tests solution folder and selecting Run Unit Tests.
- Using dotnet test, while in the project's root folder:
dotnet test --filter "Category=Functional|TestCategory=Functional" --nologo --verbosity minimal
- Using 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
Switch Test Runners
There are ready configuration for each test runner inside /Tests/Directory.Build.props.
If you wish to switch to a different runner, open the file and:
- Comment out the ItemGroup for the current provider.
- Uncomment the ItemGroup for the desired provider.
- Rebuild the solution. If the rebuild isn't enough, run
./Clean.ps1
and then rebuild.
Publish 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 | net9.0 is compatible. 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. |
-
net9.0
- AppBrix (>= 0.56.0)
- AppBrix.Configuration.Memory (>= 0.56.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AppBrix.Testing:
Package | Downloads |
---|---|
AppBrix.Testing.xUnit
Tooling for testing AppBrix applications and modules using xUnit. |
|
AppBrix.Testing.NUnit
Tooling for testing AppBrix applications and modules using NUnit. |
|
AppBrix.Testing.MSTest
Tooling for testing AppBrix applications and modules using MSTest. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.56.0 | 0 | 15 hours ago |
0.55.0 | 168 | a month ago |
0.54.0 | 112 | 2 months ago |
0.53.0 | 111 | 3 months ago |
0.52.0 | 101 | 5 months ago |
0.51.0 | 107 | 5 months ago |
0.50.0 | 121 | 6 months ago |
0.49.0 | 121 | 6 months ago |
0.48.0 | 148 | 8 months ago |
0.47.0 | 109 | 9 months ago |
0.46.0 | 125 | 5/31/2024 |
0.45.0 | 97 | 5/12/2024 |
0.44.0 | 157 | 2/14/2024 |
0.43.0 | 233 | 11/23/2023 |
Upgrade .NET to 9.0.4.