Support loading a custom `powershell.config.json` file via the command-line for use in testing. This change supports replacing the default `powershell.config.json` file that's usually loaded from the `PSHome` directory with a custom version file. The primary use-cases for this command-line option are as follows: 1. Allow the CI system to disable settings that impact test run times; such as disabling syslog usage on Linux and MacOS 2. Support testing of syslog and os_log without interfering with normal PowerShell operations during test runs via launching an instance with custom log settings. |
||
---|---|---|
.. | ||
common/markdown | ||
csharp | ||
docker/networktest | ||
powershell | ||
PSReadLine | ||
shebang | ||
tools | ||
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.