Conversation
Add comment-based help
This is only to prevent an exception from being thrown when using the "Framework" function and specifying "1.1.0" or "2.0.0" and won't be found in [$env:windir\Microsoft.NET\]
…s dependencies and will be executed automatically
… Invoke-Task function
Interesting. That is the same error that Travis spits out. https://travis-ci.org/psake/psake/jobs/305103591#L531 On my personal mac the tests run clean. In the travis macOS build, Pester runs but fails on a few. Something is afoot. |
I wasn't ready to go that meta yet. 😄 |
|
Ah, case-sensitivity on Linux is biting us. These two lines in psm1 should be: I would recommend using EA stop because the SilentlyContinue was hiding the real error. Also because we no longer support PS2, can we change the |
|
With the above fix, only two Pester tests fail on Linux: This is probably something simple to figure out. |
|
This line in tasks.json isn't needed: Each of the tasks is declaring its type as |
|
OK latest changes are looking good on Linux. Just those two test failures - and those are failing because I don't have dotnet installed in WSL. |
|
Installed dotnet, now all Pester tests pass on Linux. |
|
Awesome! I'm going to make your suggested changes re: I agree we should have an |
|
This is looking good! Can you add this to the settings.json file: This will prevent workspace searches from find matches in the output folders. |
|
@rkeithhill Done. |
|
Do you want to bump the PSD1 version number in this PR to |
|
I'll do another PR with the version bump and the final changes to the changelog. |
Big project refactor here but should not see any externally facing behavior.
Summary of changes
Related Issue
#226
#225
#197
How Has This Been Tested?
Manually ran test suite on Windows 10 and macOS with no issues. AppVeyor tests pass but oddly the Travis ones do not. This will have to be tracked down.
@PowerSchill, you added the Travis tests initially, maybe you can take a peek and see if I messed something up?
Types of changes
Checklist: