PowerShell/test
Steve Lee 2a45ccc787 Fix ConciseView to show Activity instead of myCommand (#11007)
ConciseView shows MyCommand as the prefix to the error message, but for a scriptblock, MyCommand is the whole scriptblock. Fix is to use CategoryInfo.Activity if available first. Also handle case where it's a script function by seeing if it's a command and showing MyCommand in that case rather than the Activity.
2019-11-10 16:21:10 +05:00
..
common/markdown Increase time between retries of testing URL (#11015) 2019-11-08 20:28:06 +00:00
docker/networktest Update use of "PowerShell Core" to just "PowerShell" (#9513) 2019-05-10 15:34:27 -07:00
hosting Merged PR 10295: Updating PackageReference for PS SDK to preview.5 2019-10-21 19:26:13 +00:00
nanoserver Add the license header to nanoserver.tests.ps1 (#10171) 2019-07-16 12:56:55 -07:00
packaging/windows Update use of "PowerShell Core" to just "PowerShell" (#9513) 2019-05-10 15:34:27 -07:00
powershell Fix ConciseView to show Activity instead of myCommand (#11007) 2019-11-10 16:21:10 +05:00
shebang Reorganize tests 2016-01-14 17:00:06 -08:00
tools Fix style issues (#10998) 2019-11-07 11:49:06 -08:00
xUnit Update PSConfiguration.ReadValueFromFile to make it faster and more memory efficient (#10839) 2019-10-30 14:44:34 -07:00
README.md Move xUnit tests in new folder (#8356) 2018-12-13 14:22:07 -08:00
Test.Common.props Move to .NET Core 3.1 preview 1 (#10798) 2019-10-18 16:49:25 -07: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 ./xUnit. The third-party shebang test is in ./shebang.