PowerShell/test/powershell/engine/Basic
xtqqczze 743983390e Update pester syntax to v4 (#11544)
* Capitalize 'Should' command and fix whitespace

```powershell
$_ -ireplace '\s?\|\s?should\b',' | Should'
```

* Capitalise and apply hyphen to 'Not' parameter

```powershell
$_ -ireplace '(\| Should) not\b','$1 -Not'
```

* Capitalise and apply hyphen to 'Be' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be'
```

* Capitalise and apply hyphen to 'BeExactly' parameter

$_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly'

* Capitalise and apply hyphen to 'BeGreaterThan' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan'
```

* Use 'BeTrue' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue'
```

* Use 'BeFalse' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse'
```

* Capitalise and apply hyphen to 'Match' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match'
```

* Capitalise and apply hyphen to 'Throw' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw'
```

* Capitalise and apply hyphen to 'BeNullOrEmpty' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty'
```

* Capitalise 'Because' parameter

```powershell
$_ -ireplace '\s-because\b',' -Because'
```

* Fix 'BeNullOrEmpty'
2020-01-11 20:41:59 +05:00
..
Assembly.LoadedInSeparateALC.Tests.ps1 Do not resolve types from assemblies that are loaded in separate AssemblyLoadContext (#11088) 2019-11-26 12:40:16 -08:00
Assembly.LoadFrom.Tests.ps1
Assembly.LoadNative.Tests.ps1 Add native binary resolver (#11032) 2019-12-09 12:03:53 -08:00
Assembly.LoadWithPartialName.Tests.ps1 Port PowerShell to .NET Core 3.0 (#9597) 2019-05-21 13:43:51 +08:00
Attributes.Tests.ps1
CommandDiscovery.Tests.ps1 Cleanups in command discovery (#10815) 2019-12-03 11:23:36 +05:00
Credential.Tests.ps1
DefaultCommands.Tests.ps1 Re-balance CI tests (#11420) 2020-01-05 13:01:42 +05:00
Encoding.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
GroupPolicySettings.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
PropertyAccessor.Tests.ps1 Update use of "PowerShell Core" to just "PowerShell" (#9513) 2019-05-10 15:34:27 -07:00
ProxyCommand.tests.ps1 Add support for ValidateRangeKind to ParameterMetadata.GetProxyAttributeData (#9059) 2019-05-07 12:15:38 -07:00
SemanticVersion.Tests.ps1 Consider DBNull.Value and NullString.Value the same as $null when comparing with $null and casting to bool (#9794) 2019-06-28 11:39:34 -07:00
Telemetry.Tests.ps1 Some code cleanup work (#10698) 2019-10-07 14:15:01 +05:00
TypeResolution.Tests.ps1 Correct pwsh run (#11486) 2020-01-05 12:17:41 +05:00
ValidateAttributes.Tests.ps1