PowerShell7/test
charub d59627f9ae Fix New-LocalUser cmdlet to roll back user in case of user attributes assignment failure.
Resolving #3242

At this point, user account is created even if user attributes assignment
(like setting password) fails. The cmdlet throws a
non-terminating error but ends up creating the user. This behavior is
confusing. As per the changes, the localuser account will be rolled back
in case of failure in user attributes assignment.
2017-03-09 09:25:46 -08:00
..
csharp Add OpenSUSE 13.2 build support (#3254) 2017-03-06 17:30:14 -08:00
fullclr Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
powershell Fix New-LocalUser cmdlet to roll back user in case of user attributes assignment failure. 2017-03-09 09:25:46 -08:00
PSReadLine Add OpenSUSE 13.2 build support (#3254) 2017-03-06 17:30:14 -08:00
shebang Reorganize tests 2016-01-14 17:00:06 -08:00
tools Add OpenSUSE 13.2 build support (#3254) 2017-03-06 17:30:14 -08:00
vs-csproj Add '<Link>' tag to '<Compile>', '<None>' and '<EmbeddedResource>' tags to make those items look similar as when the *.csproj files were in the original project folders. (#2519) 2016-10-21 17:04:05 -07:00
map.json Edit map.json to add in PackageManagement tests 2016-07-12 21:17:11 -07:00
README.md Add test/README.md 2016-03-30 23:30:26 -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 ./csharp. The sanity tests for the Full .NET build of PowerShell are in ./fullclr, and the third-party shebang test is in ./shebang.