PowerShell/test
Steve Lee b63696572f Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304)
Moved check if able to write to $PSHome as way to skip test to `BeforeAll` which already contained a check if running on Windows.

## PR Context

As part https://github.com/PowerShell/PowerShell/pull/9279, tests were updated to be skipped if the test requires writing to `$PSHome` but is not able to.  However, these tests already had a skip mechanism in place so the additional check caused the test to run when it should have skipped.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-04-05 17:00:41 -07:00
..
common/markdown Update markdown test dependencies (#9075) 2019-03-09 08:30:14 +05:00
docker/networktest Remove appveyor functions from New-DockerTestBuild.psm1 (#8756) 2019-01-31 11:15:31 -08:00
hosting Update version for PowerShell.Native and hosting tests (#8983) 2019-03-04 11:08:19 -08:00
packaging/windows Remove extra AppVeyor environment check (#8709) 2019-02-08 10:57:41 -08:00
powershell Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304) 2019-04-05 17:00:41 -07:00
shebang Reorganize tests 2016-01-14 17:00:06 -08:00
tools Update tests to account for when $PSHOME is readonly (#9279) 2019-04-04 23:01:01 -07:00
xUnit Cleanup style issues in CoreAdapter and MshObject (#9190) 2019-03-23 09:52:30 +05:00
README.md Move xUnit tests in new folder (#8356) 2018-12-13 14:22:07 -08:00
Test.Common.props Removing Hardlink from Mode property in default file system format (#8789) 2019-03-12 15:49:16 -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.