mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
To improve code clarity and give better error messages when using ValidateRange, you can now specify: ``` [ValidateRange(ValidateRangeKind.Positive)] ``` instead of ``` [ValidateRange(1, 2147483647)] ``` Valid kinds are: Positive Negative NonPostiive NonNegative
Testing
The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./csharp. The sanity tests for the Full .NET build of PowerShell are in ./fullclr, and the third-party shebang test is in ./shebang.