BitHelp.Core.Validation
0.15.1
See the version list below for details.
dotnet add package BitHelp.Core.Validation --version 0.15.1
NuGet\Install-Package BitHelp.Core.Validation -Version 0.15.1
<PackageReference Include="BitHelp.Core.Validation" Version="0.15.1" />
paket add BitHelp.Core.Validation --version 0.15.1
#r "nuget: BitHelp.Core.Validation, 0.15.1"
// Install BitHelp.Core.Validation as a Cake Addin #addin nuget:?package=BitHelp.Core.Validation&version=0.15.1 // Install BitHelp.Core.Validation as a Cake Tool #tool nuget:?package=BitHelp.Core.Validation&version=0.15.1
BitHelp.Core.Validation
This project facilitates the validation of an entity's properties.
Getting Started
Installation process
This package is available through Nuget Packages: https://www.nuget.org/packages/BitHelp.Core.Validation
Nuget
Install-Package BitHelp.Core.Validation
.NET CLI
dotnet add package BitHelp.Core.Validation
Latest releases
Release 0.15.1
- Cfix: Removing property T _ not using
To read about others releases access RELEASES.md
Build and Test
Using Visual Studio Code, you can build and test the project from the terminal.
Build and restore the project
dotnet restore
dotnet build --no-restore
Tests
dotnet test --no-build --verbosity normal
Report Generator
Coverlet is used as a package in the test project, to generate the test coverage file. But to generate a report, the Report Generator must be installed on the computer, in this case in global scope. In this project I am using version 4.8.6.
dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.8.6
Coverage
To generate the test report, run the command below:
rm -rf ./coverage ./test/bin ./src/bin ./TestResults
dotnet restore
dotnet build --no-restore
dotnet test --no-build --verbosity=normal --collect:"XPlat Code Coverage" --results-directory ./coverage
reportgenerator "-reports:coverage/**/coverage.cobertura.xml" "-targetdir:coverage/report" -reporttypes:Html
Upon execution, the command will generate a test report in the ./coverage/report.
So I don't have to run each command for each test that wants to generate the report, I created a ./buildReport.sh to make it easier, so just run the shell script below:
./buildReport.sh
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- BitHelp.Core.Extend (>= 0.5.0)
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.17.0 | 81 | 11/6/2024 |
0.16.0 | 299 | 10/30/2023 |
0.15.1 | 198 | 5/12/2023 |
0.15.0 | 312 | 1/12/2023 |
0.14.0 | 315 | 1/10/2023 |
0.13.0 | 441 | 8/2/2022 |
0.12.0 | 435 | 7/28/2022 |
0.11.0 | 487 | 3/17/2022 |
0.10.0 | 362 | 6/23/2021 |
0.9.0 | 363 | 4/30/2021 |
0.8.0 | 329 | 4/29/2021 |
0.7.0 | 337 | 4/26/2021 |
0.6.1 | 358 | 3/3/2021 |
0.6.0 | 503 | 10/7/2020 |
0.5.1 | 506 | 9/8/2020 |
0.5.0 | 656 | 3/6/2020 |
0.4.0 | 643 | 2/12/2020 |
0.3.0 | 584 | 2/12/2020 |
0.2.0 | 602 | 2/11/2020 |
0.1.0 | 546 | 2/11/2020 |