PowerShell/test
Dan Travison 43662809c7 Add '-settingsfile' to 'pwsh' to support loading a custom powershell config file. (#5920)
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.
2018-01-24 22:12:14 -08:00
..
common/markdown Make the experience better when start-pspester doesn't find pester (#5673) 2017-12-12 16:07:12 -08:00
csharp Rename 'PowerShellProperties.json' to 'powershell.config.json' 2018-01-05 16:06:36 -08:00
docker/networktest Rename powershell.exe to pwsh.exe (#5101) 2017-10-17 17:25:11 -07:00
powershell Add '-settingsfile' to 'pwsh' to support loading a custom powershell config file. (#5920) 2018-01-24 22:12:14 -08:00
PSReadLine Revert "Pull PSReadLine from PSGallery" (#5986) 2018-01-22 16:09:35 -08:00
shebang Reorganize tests 2016-01-14 17:00:06 -08:00
tools Revert "Pull PSReadLine from PSGallery" (#5986) 2018-01-22 16:09:35 -08:00
README.md Add test/README.md 2016-03-30 23:30:26 -07:00
Test.Common.props Update PowerShell to build with .NET Core 2.0.5 (#5903) 2018-01-16 17:36:37 -08:00

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.