New Stuff
- Changed
Invoke-Koan
to simply use a separate runspace instead of toying with SessionState in barely-supported ways. - Trimmed some of the koan finding/filtering code.
- Applied a slightly more robust koans searching method in
Measure-Karma
- Applies
using module PSKoans
before executing koans files- Use of
using module PSKoans
in koans file headers is now technically optional.
- Use of
Fixes
- Fixed issue where
KoanAttribute
was not being registered or discovered, preventing koan files from being assessed. - Fixed issue where the user's Koans folder was not being searched properly, resulting in confusing prompts and division by zero errors.
- Fixed issues where the meditation prompt output far too many errors
- Fixed issues where older koans files couldn't be read correctly. Using new version(s) with older koan files should work more or less as expected now.
- Fixed issues in some cases where Pester would complain that the
Should -Fail
assertion operator was already registered.