fa901b646f
This makes it possibe to write for example [ValidatePattern('[A-Z]:', ErrorMessage='The Drive should be specified as a single letter followed by a colon, for example "D:"')] [string] $Drive, The element being validated is also passed, so {0} can be used in the custom error message |
||
---|---|---|
.. | ||
common/markdown | ||
csharp | ||
fullclr | ||
powershell | ||
PSReadLine | ||
shebang | ||
tools | ||
map.json | ||
README.md |
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.