You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
techthoughts2
changed the title
Catesta bug issue
Running pester tests from within VScode using run tests fails with error of no module loaded
Aug 14, 2024
techthoughts2
changed the title
Running pester tests from within VScode using run tests fails with error of no module loaded
Running pester tests from within VSCode using run tests fails with error of no module loaded
Aug 14, 2024
Expected Behavior
Sample tests generated by Catesta should be able to be run using
Run tests | Debug tests
from within VSCode.Current Behavior
Sample tests generated by Catesta fail when run using
Run tests | Debug tests
from within VSCode with the following error:System.Management.Automation.RuntimeException: No modules named 'GHATest' are currently loaded.
Possible Solution
Recent Pester 5 changes in #91 likely introduced a regression with the move of scaffolding to
BeforeAll
block.Steps to Reproduce
Run tests | Debug tests
The text was updated successfully, but these errors were encountered: