PowerShell-Tests
PowerShell-Tests copied to clipboard
Pester based tests for testing PowerShell
https://github.com/PowerShell/PowerShell-Tests/issues/4 --- This change is [](https://reviewable.io/reviews/powershell/powershell-tests/5)
Hi, I prepared the tests to parse internationalization files. Now tests are the project [Format-Pester](https://github.com/it-praktyk/Format-Pester/blob/dev/tests/Format-Pester-translations.tests.ps1) specific but after small improvements (generalizations of code) can be used generally. If will you...
Not sure if the right to place this but couldn't find anything better. PSHostUserInterface ignores DefaultValue Details: http://stackoverflow.com/questions/26238881/host-ui-prompt-is-ignoring-the-attribute-defaultvalue-in-fielddescription
in the file Scripting/LanguageandParser/ParameterBinding.Tests.ps1 you haven't put your assertions inside It blocks. This results in tests that don't actually fail, but you also don't have any useful output. ``` Powershell...
This [test](https://github.com/PowerShell/PowerShell-Tests/blob/83ec2c1204f33093c5589404483db578e5132f3b/engine/Other/Pester.Engine.Other.InformationStream.Tests.ps1#L16) have two issues: - If you want to use `$InformationPreference` variable, then you should not use `-InformationAction` parameter. - The value `Ignore` is not supported for an `ActionPreference`...
fix date compare to use correct hour format lower case: Describing GetDateFormatUpdates [+] Verifies that FileDate format works 51ms [+] Verifies that FileDateUniversal format works 23ms [-] Verifies that FileDateTime...