gaelcolas / Sampler

Module template with build pipeline and examples, including DSC elements.
MIT License
171 stars 42 forks source link

How to support Pester 5 in Plaster templates? #377

Open johlju opened 2 years ago

johlju commented 2 years ago

Today the Plaster templates are using Pester 4. Users might expect to continute get changes from the pipeline a keep Pester 4 testing. How should we add support for Pester 5?

gaelcolas commented 2 years ago

Pester 4 should be depreciated. No new project should be created with Pester 4 (not available option). We ought to continue support Pester 4 for invocation for existing projects.

johlju commented 2 years ago

Not sure how we could determine if it is meant to update

The only way I see to determine it is by asking the user what it is.

The absolute easiest is that we just remove Pester 4. If a user want to use Pester 4, they have to pin the last version of Sampler that supports it, e.g. 0.115.0. Though not the most friendliest option, and you opted out of that above. 🙂

gaelcolas commented 2 years ago

I'd say I'd be happy to do the latter once DSC community has moved all active repos to pester 5... Too soon IMO

johlju commented 2 years ago

Yes that is gonna take years at this pace. 🙂