pester/Pester — pull request #144 by dlwyatt (2014-06-26 00:17:00+00:00)
Title: Direct test execution fix

Corrects a bug that occurs when a test script is dot-sourced into the global scope. In that situation, mocks can wind up being executed by modules that were not intended to see the mock (including Pester itself.)