BitHelp.Core.Validation 0.13.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BitHelp.Core.Validation --version 0.13.0                
NuGet\Install-Package BitHelp.Core.Validation -Version 0.13.0                
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="BitHelp.Core.Validation" Version="0.13.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BitHelp.Core.Validation --version 0.13.0                
#r "nuget: BitHelp.Core.Validation, 0.13.0"                
#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 BitHelp.Core.Validation as a Cake Addin
#addin nuget:?package=BitHelp.Core.Validation&version=0.13.0

// Install BitHelp.Core.Validation as a Cake Tool
#tool nuget:?package=BitHelp.Core.Validation&version=0.13.0                

BitHelp.Core.Validation

Licensed under the MIT License Integration Tests NuGet Nuget codecov Quality Gate Status

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.13.0

Features:

  • Adding DenyRegexIsValid
  • Update packages test
  • Delete folder doc
  • Adding more tests

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
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 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. 
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.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