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 |
||
---|---|---|
.. | ||
common/markdown | ||
csharp | ||
docker/networktest | ||
fullclr | ||
powershell | ||
PSReadLine | ||
shebang | ||
tools | ||
map.json | ||
README.md | ||
Test.Common.props |
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.