Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Pester
Pester is the ubiquitous test and mock framework for PowerShell.
Collective -
Host: opensource -
https://opencollective.com/pester
- Website: https://t.co/MbXEBxUlDi
- Code: https://github.com/pester/Pester
github.com/pester/Pester - c46e3adb892d0a3a9941c7c06cc0833ebb28b50d authored over 10 years ago by Joel Bennett <[email protected]>
For exceptions that are generated by something other than the Should command, test failure outpu...
github.com/pester/Pester - 37e31dbdf0d70779b1907dd747db574e198c905d authored over 10 years ago by Dave Wyatt <[email protected]>
Unfortunately I can't set the version to Beta as it is not recognized as
a valid Version.
This causes failed tests to output the proper file and line from the tests.ps1 file, and also al...
github.com/pester/Pester - f517187ecd3b889cfc93bfcd6f149b65a216f92f authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 496e6b0dcaba34a8e686311baece891654500eca authored over 10 years ago by Dave Wyatt <[email protected]>
Mocks are no longer tied to the It scope.
github.com/pester/Pester - c71b65e5e6a6b12c143df65ab3cd94821f5d0eb7 authored over 10 years ago by Dave Wyatt <[email protected]>When Mock is called from an It block, the mock's lifetime is tied to whatever the parent scope o...
github.com/pester/Pester - 5cc1477c29ba571cb06038fa9e77d13ba88a12dc authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 2d67196386ef873b25ad1f17f21230b729275e65 authored over 10 years ago by Dave Wyatt <[email protected]>
Errors reported from Describe and Context blocks
github.com/pester/Pester - 6c3efb0568561608b0040e6d7a7e82990f8415f0 authored over 10 years ago by Dave Wyatt <[email protected]>Whitespace-only change
github.com/pester/Pester - 31db399e2d85b630300d100ce7cd523c86ecb3a9 authored over 10 years ago by Dave Wyatt <[email protected]>This is along the same lines as the original commit in this branch, but addresses issue #91.
Al...
github.com/pester/Pester - 47bcaba85ed7638f16fce7f484a096f77582586b authored over 10 years ago by Dave Wyatt <[email protected]>Quick update to make terminating errors that occur in a Describe or Context block cause a failed...
github.com/pester/Pester - e7368fb38454cbc298b5b50dcdec8574a76ffe82 authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - ee102521931a9408dfa37950339f2640a265e3ba authored over 10 years ago by Dave Wyatt <[email protected]>
Describe and Context fix
github.com/pester/Pester - 6ca02f6cce4bfabeaa29f195a868e2c172cced96 authored over 10 years ago by Dave Wyatt <[email protected]>Fixture parameters to Describe was mistakenly marked as Mandatory in a recent commit. Instead o...
github.com/pester/Pester - 1ecfbc6336647cc13923b57f8f1e2904519e1a1d authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 985f20f9a878463f2ac95d690f7314d77e96dbc6 authored over 10 years ago by Dave Wyatt <[email protected]>
Pester.bat no longer enables strict mode.
github.com/pester/Pester - 2d70105264be96f9f4e62ae70a38eeda4750e705 authored over 10 years ago by Dave Wyatt <[email protected]>This change was originally made to ensure that Pester's unit tests are run with strict mode enab...
github.com/pester/Pester - 9b067e39b6165327cd80d0886c028729a2c8183a authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - e63edb77ad32255ea81917ba3e733cb9b3ba793e authored over 10 years ago by Dave Wyatt <[email protected]>
Small fix for PesterThrowFailureMessage
github.com/pester/Pester - ac844fab753f411f790392b73877d164456b9a21 authored over 10 years ago by Dave Wyatt <[email protected]>The tests for #147 were failing in PowerShell 2.0 due to the presence of a leading blank line in...
github.com/pester/Pester - 1eaf2a3b0728f7fe1493f021947598ea633d1446 authored over 10 years ago by Dave Wyatt <[email protected]>Formatting cleanup
github.com/pester/Pester - 018d476a0422cef0dcfb8fcf15d024e0cd98d459 authored over 10 years ago by Dave Wyatt <[email protected]>Manually reviewed all files under the Functions directory for indentation cleanup.
Replaced a c...
github.com/pester/Pester - 6ab85096858a264123f4e89d1a8f527722a980f3 authored over 10 years ago by Dave Wyatt <[email protected]>Replaced all tab characters with 4 spaces, and removed all trailing whitespace from the end of l...
github.com/pester/Pester - d6419163da6c8bcc1e9b003473a01d3003a243e7 authored over 10 years ago by Dave Wyatt <[email protected]>Swapped tabs for spaces, and standardized indenting. Removed a couple of % and ? aliases.
Brac...
github.com/pester/Pester - 0d6fe9b90d0e085afe0906f33ab68aa7c69b5bdf authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - cb1db5c7c6e247c60ace7cb535cb2ce0480389bc authored over 10 years ago by Dave Wyatt <[email protected]>
Conflicts:
CHANGELOG.md
Functions/Assertions/PesterThrow.Tests.ps1
github.com/pester/Pester - 3c44e9311386ccfebe800c23f31d33ece62fbc2e authored over 10 years ago by Dave Wyatt <[email protected]>
Assert-MockCalled fix
github.com/pester/Pester - 31bbc76ad918a1cb9263d6b31100f3e5e95d1c26 authored over 10 years ago by Dave Wyatt <[email protected]>The value of the ModuleName parameter in Assert-MockCalled now defaults to Pester's current sess...
github.com/pester/Pester - ad890ea5a9a0380f413050e8a3d35fd21e928158 authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 61f0b013c0e7e3c48965f2b289030e756beebedc authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - 4f9f6787e40ba471bce16e886362424e0b8cecbe authored over 10 years ago by nohwnd <[email protected]>
Invoke-Pester tests path fix.
github.com/pester/Pester - 12b9587421c8e31e361aa6e9fd355a0c2ebdffe5 authored over 10 years ago by nohwnd <[email protected]>Legacy expectations cleanup
github.com/pester/Pester - 5286254a0faaf1d7db324a0ee40fb00b4383acf8 authored over 10 years ago by nohwnd <[email protected]>Rolling back some earlier Pester Scope changes
github.com/pester/Pester - ee98f788233450807784c8413a614fad4e81b705 authored over 10 years ago by nohwnd <[email protected]>At some point while working on the early 3.0 beta code, we changed from executing *.Tests.ps1 wi...
github.com/pester/Pester - a88337d38f4f9f2b85719e89035ec2e3593c9977 authored over 10 years ago by Dave Wyatt <[email protected]>Per discussions with @nohwnd, the idea of having "It" be its own Pester scope (clearing Mocks an...
github.com/pester/Pester - 29ec817ef87b4fd5877ba902ac0f329392c5d203 authored over 10 years ago by Dave Wyatt <[email protected]>Actual legacy expectations functionality was removed back in commit cdcb7d6 , but the switch par...
github.com/pester/Pester - 32d8bc94242998ffe64b7df249674310b72feb38 authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 076de646be5201bb49352d6bb0247fb97faf916f authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - 7c5872c53380e750b404c0decc1923d3532d0371 authored over 10 years ago by nohwnd <[email protected]>
This reverts commit 3f04e42a8781b046778e7a94e42fd8f65eedcccd.
github.com/pester/Pester - 4dda7307503961305c8c8f6807b3097f2e495f55 authored over 10 years ago by nohwnd <[email protected]>This reverts commit ff03f95ca0d12629cac16637cee0e1ea10c1ab77.
github.com/pester/Pester - 2372affd3150be1c8e4a1750ff004240ad7fe6dc authored over 10 years ago by nohwnd <[email protected]>github.com/pester/Pester - ff03f95ca0d12629cac16637cee0e1ea10c1ab77 authored over 10 years ago by nohwnd <[email protected]>
CodeCoverage of files containing DSC Configurations
github.com/pester/Pester - dcd07c9a2e9dcbf57e808687f52376aba81990f8 authored over 10 years ago by nohwnd <[email protected]>github.com/pester/Pester - 3f04e42a8781b046778e7a94e42fd8f65eedcccd authored over 10 years ago by nohwnd <[email protected]>
Add initial implementation of BeforeEach / AfterEach
github.com/pester/Pester - 0fd20097a5257c840c05209d5af3ef7cbb7e7a32 authored over 10 years ago by nohwnd <[email protected]>Revised new code slightly so most of it is only executed on PowerShell v4+. Dynamic keywords di...
github.com/pester/Pester - cff728ea50844e5cdb32bcc1226a77a96cfdc177 authored over 10 years ago by Dave Wyatt <[email protected]>DSC's use of dynamic keywords screws with the code coverage breakpoint-based implementation quit...
github.com/pester/Pester - 8f6afdea996c3d53ab14c631a62b4e30e5940887 authored over 10 years ago by Dave Wyatt <[email protected]>User-Defined setup and teardown blocks that execute before and after each "It" block. Scope rul...
github.com/pester/Pester - e99c6adedd4a77296d73a3d681dea9f2c43d59ac authored over 10 years ago by Dave Wyatt <[email protected]>
When mocking Test-Path I was getting error: Mock for Test-Path was
called but it does not exist ...
github.com/pester/Pester - b11fa3073986e081e6704c993e1014d36821dfdd authored over 10 years ago by nohwnd <[email protected]>
Coverage Output Update
github.com/pester/Pester - c84d48d2f124267e6564b68aca0a96a1624d5a5f authored over 10 years ago by nohwnd <[email protected]>Suppress pipeline output in Context / Describe
github.com/pester/Pester - 4e7b2264172f8894ad94c8dbe8693b3094093394 authored over 10 years ago by nohwnd <[email protected]>If you're analyzing coverage on, for example:
Folder\Subfolder1\File.ps1
Folder\Subfold...
Common parent paths are now automatically stripped from the File column of the on-screen coverag...
github.com/pester/Pester - 51965cf77d9e4f95e82c2e6b314aabbd85e2b992 authored over 10 years ago by Dave Wyatt <[email protected]>Any pipeline output from Describe and Context blocks is now discarded, just as it already was fo...
github.com/pester/Pester - ba3c0f6e71525a780c735a52aa40148af6b8ec2b authored over 10 years ago by Dave Wyatt <[email protected]>
When wildcard in code coverage path is used it resolves and reports all
files that are not .ps1 ...
Got NUnit export working on PowerShell v2 again.
github.com/pester/Pester - 15cdac4f7fd11b562b06019ec181f6e2f007400d authored over 10 years ago by nohwnd <[email protected]>Fixes #153
Assignment to WriteEndDocumentOnClose was unnecessary, since it defaults to True any...
github.com/pester/Pester - 09ac4551668958d8e670bad936943d2210c0f1b7 authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 5aef9b0e4d1295bc9aa398dd6a821e08094959eb authored over 10 years ago by nohwnd <[email protected]>
Coverage output now also includes function name
github.com/pester/Pester - fbc764364cca3808dffac0321778febd74fc7728 authored over 10 years ago by nohwnd <[email protected]>github.com/pester/Pester - c45ea920b6cf72674b7cce1b97a78cff707bc339 authored over 10 years ago by Dave Wyatt <[email protected]>
github.com/pester/Pester - e3a6a0d755df8e20ae3bfb0902b27745680460ba authored over 10 years ago by nohwnd <[email protected]>
Removed the unused code that used to test the usage of global scope.
Looking through the code th...
This has been long talked about and the new 3.0.0 release is the ideal
release to finally get ri...
Removing validate xml function which was replaced in the tests with less
general way of validati...
The xmlwriter method used to output nUnit report can resolve relatives
paths by itself, but its ...
github.com/pester/Pester - d2d690fad284cdc7300c182f55765000ad33d839 authored over 10 years ago by nohwnd <[email protected]>
Better output for Hashtable Key-Value pairs in CodeCoverage report
github.com/pester/Pester - dc1699400f690520cad74134fba3df44954c1e1f authored over 10 years ago by nohwnd <[email protected]>Coverage tests fix
github.com/pester/Pester - 969612f4c755a2c15106b260bbcc618e7bfed1d5 authored over 10 years ago by nohwnd <[email protected]>The "Command" text for expressions in a hashtable should now display the entire "Key = <Expressi...
github.com/pester/Pester - 9eca38a96e9d8b0160a321a9d541446bd67e2b04 authored over 10 years ago by Dave Wyatt <[email protected]>Previous tests forgot to call Exit-CoverageAnalysis, and left a bunch of orphaned breakpoints in...
github.com/pester/Pester - 4761c5e1cea4d763fa9573d88915ab921cb54a1a authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 7e362a42f84443fb94c7e506bc77e1bc6eea5e2d authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - fdf0c908066052a6b685c2f715d0454d5d3cc15c authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - a8d79102ec65d1c3f66648d815f256fb7b59e886 authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - f882b051d858e91eb2e5fcc597583eed9c931563 authored over 10 years ago by nohwnd <[email protected]>
github.com/pester/Pester - 859389271560e00c18a1cfd4fdb8c3ee8e7eb2a4 authored over 10 years ago by Dave Wyatt <[email protected]>
CodeCoverage feature now automatically limits itself to attempting to parse File objects with ex...
github.com/pester/Pester - 20059603a5691db4aa18213640d1723c8fb9ca5b authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - 26f53f28420c896e6dd65e680a9cd24b167db1ed authored over 10 years ago by Dave Wyatt <[email protected]>
github.com/pester/Pester - 7e2c90372bed19bb99a12a84cf8ef11f3ef07619 authored over 10 years ago by Dave Wyatt <[email protected]>
There were a few comments added with the Isolation branch which are not really needed, so I took...
github.com/pester/Pester - c9215c9ecbbe051a1d69c5a89b41bff406a9c5bd authored over 10 years ago by Dave Wyatt <[email protected]>Regardless of how users pass input, only one breakpoint will be generated per command in each fi...
github.com/pester/Pester - 116db544081ce88b1b8533ac43c9d8402b6774c0 authored over 10 years ago by Dave Wyatt <[email protected]>The hashtable that is passed to Invoke-Pester's -Coverage parameter can now have a key named Fun...
github.com/pester/Pester - 56cb3c7989f81eb8fda6016ae3b33fb18c2236f3 authored over 10 years ago by Dave Wyatt <[email protected]>Invoke-Pester's -Coverage parameter (renamed from -CoveragePath) can now either accept strings (...
github.com/pester/Pester - e88932b37b4ecef7ba04dd5f5c00c75b6b14837b authored over 10 years ago by Dave Wyatt <[email protected]>Experimenting with Git; it was reporting changes to Describe.ps1 and It.ps1 which I had rolled b...
github.com/pester/Pester - 8a246627bed70e43957e85c79c7b46b9eff47a3d authored over 10 years ago by Dave Wyatt <[email protected]>When displaying missed commands, instead of only outputting the "command" element which comes af...
github.com/pester/Pester - 01140862291e49c9fe97b3ea109ed4e8f00dd010 authored over 10 years ago by Dave Wyatt <[email protected]>Performance hit was pretty deadly when I ran Pester's own tests using this feature. Repeatedly ...
github.com/pester/Pester - 7770636b20d7ce3dee586f2318de3ed70fb017aa authored over 10 years ago by Dave Wyatt <[email protected]>Uses the AST to identify all commands in whatever script files the caller specifies, and sets em...
github.com/pester/Pester - bafa97b1c028bbc4ff2e23fa77e71242995a2cca authored over 10 years ago by Dave Wyatt <[email protected]>The output XML used templates to output the nUnit xml report, that did not support using special...
github.com/pester/Pester - 12df6f575aee37bbfe464caca743a60eca68c26e authored over 10 years ago by nohwnd <[email protected]>github.com/pester/Pester - ebfb0997365fea29f25b2aa3065378a3765eff4c authored over 10 years ago by nohwnd <[email protected]>
When PesterThrow catches an unexpected exception, record the source of the exception into the ex...
github.com/pester/Pester - e50cbc7d043c38636c34300a0cecef42f171d7ac authored over 10 years ago by nohwnd <[email protected]>of the exception into the exception message
github.com/pester/Pester - e32fb43326752b748ec7972d0e5d9a891b06464d authored over 10 years ago by peter wieland <[email protected]>github.com/pester/Pester - c6d213a3f4ff55a170c3b17a0bf47123488ff246 authored over 10 years ago by nohwnd <[email protected]>
The script block passed to the -ParameterFilter parameters on Mock and Assert-MockCalled is now ...
github.com/pester/Pester - c238baab7402a038306857d038b181e817a1826b authored over 10 years ago by Dave Wyatt <[email protected]>github.com/pester/Pester - e0564ac8d86d84415486eef0d017f6bfd917c301 authored over 10 years ago by nohwnd <[email protected]>
Corrects a bug that occurs when a test script is dot-sourced into the global scope. In that sit...
github.com/pester/Pester - 814874a0d26d744db1e89acc061168ca040623b4 authored over 10 years ago by Dave Wyatt <[email protected]>Update 3.0.0-beta release notes.
github.com/pester/Pester - 3c0cdbf9e2ee5db7386f4cda90bc2cee9e3e1f07 authored over 10 years ago by nohwnd <[email protected]>github.com/pester/Pester - 8566a8af483595fea217fa0146361f4f06b586f5 authored over 10 years ago by nohwnd <[email protected]>
Command now identifies all calls to the mocked command by default (scope setting of "Describe")....
github.com/pester/Pester - 428aa9df55d671fd19772fb2a98a9242dc646a81 authored over 10 years ago by Dave Wyatt <[email protected]>"ps" was resolving to ps.exe when using PowerShell with the Git client on the search path. Swit...
github.com/pester/Pester - db8a43dd4ca94a60e6e8456a6cec106f5e74137d authored over 10 years ago by Dave Wyatt <[email protected]>