PowerShell/docs/testing-guidelines
James Truher [MSFT] 99a7d38cae Update test framework and tests to support 4x version of Pester (#6064)
* Test fixes and changes needed to support Pester 4.0.8

* Replace 'Should Contain' with new 'Should FileContentMatch' assertion

Explicitly check for string creation with write-output

* Use the current version of pester and install it in modulesDir

* Simplify logic for relative path test.

Multiple '..' is not needed for a relative path, a single one will do. Also, on multi-drive systems using split-path -noqualifier will probably do the wrong thing with regard to constructing a correct path.
Remove extraneous Should Not Throw test, if this throws, the test will fail, we don't need to explicitly assert the not throw

* In some environments it is possible that computer name is 'localhost', so that should be allowed

* [feature] Add link for migrating tests from Pester v3 to v4

Fix up capitalization and white space issues
Change one test to check FullyQualifiedErrorId rather than just `Should Throw`

* [feature] update invoke-item test to handle the case where multiple notepad processes are running

* Fix spelling issue with Pester 4x, calling it Pester 4 should be sufficient
2018-02-05 11:58:25 -08:00
..
Images Reduce image file sizes using lossless compression with imgbot (#5808) 2018-01-09 14:51:57 -08:00
CodeCoverageAnalysis.md Revert "Pull PSReadLine from PSGallery" (#5986) 2018-01-22 16:09:35 -08:00
PowerShellCoreTestStatus.md automatic spellchecking .md files in TravisCI (#838) 2016-10-31 18:02:26 -07:00
testing-guidelines.md Make the experience better when start-pspester doesn't find pester (#5673) 2017-12-12 16:07:12 -08:00
TestRoadmap.md Rename $IsOSX to $IsMacOS (#4757) 2017-09-07 10:34:40 -07:00
WritingPesterTests.md Update test framework and tests to support 4x version of Pester (#6064) 2018-02-05 11:58:25 -08:00