nohwnd / Assert

A set of advanced assertions for Pester to simplify how you write tests.
MIT License
101 stars 12 forks source link

WIP Add WMF4 to build matrix in AppVeyor #44

Open bergmeister opened 5 years ago

bergmeister commented 5 years ago

Use WMF4 legacy image for testing. Although the image has been enabled, it does not seem to work, maybe it take a bit more time to be enabled.

bergmeister commented 5 years ago

@nohwnd The WMF 4 image is working now, we just need to make small adaptions for the way how Pester is being bootstrapped due to PowerShellGet and Packagemanagement not being fully available in PS v4. We could e.g. do a cinst Pester in the AppVeyor yaml for that or similar to how I do it in PSSA here On an unrelated note: I have also requested here that Pester gets included in the next AppVeyor images.

nohwnd commented 5 years ago

Sure, as long as it gets installed I don’t care how it got there :)

I saw that you asked them to include Pester, and I think I upvoted it. Thanks!

bergmeister commented 5 years ago

@nohwnd I fixed the Pester bootstrapping issue with the WMF 4 image but the results indicate that Assert or its tests need to be adapted for WMF4:

Tests Passed: 524, Failed: 109
nohwnd commented 5 years ago

@bergmeister hmm that's weird, I remember it worked on PowerShell 2 and 5 and core, and 4 is not the weird kid in this bunch, v2 is. So I guess there is some oddity in PowerShell 4 that I don't know about (plausible), or something is wrong with the setup. I have a v4 vm, so I will test it after I pack all the christmas gifts (hopefully till 24th :D ). Thx!