Skip to content

New to pester 5, Getting started, and design decisions behind v5? #2087

Answered by nohwnd
OranguTech asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, thanks for the questions:

  1. What's the reason behind having a discovery pass?

There are multiple features that discovery enables. Most importantly it's being able to run single test, or a group of tests in a file or multiple files without having to run all setups around it. This is not very useful for CI runs, but is valuable for interactive runs, for example in VSCode where the Test UI can first do Discovery only, figure out what tests are there without actually running them and you can then choose what to run.

I agree data driven tests are more complicated than before. The scopes are not very complicated though. The scriptblocks that you provide to It, BeforeAll, BeforeEach, Afte…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@OranguTech
Comment options

Answer selected by OranguTech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants