Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: Pester v5 #12816

Open
xtqqczze opened this issue May 27, 2020 · 12 comments
Open

meta: Pester v5 #12816

xtqqczze opened this issue May 27, 2020 · 12 comments
Labels
Issue-Meta an issue used to track multiple issues Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers WG-Quality-Test issues in a test or in test infrastructure

Comments

@xtqqczze
Copy link
Contributor

xtqqczze commented May 27, 2020

Pester version 5.0.0 has been released, we should start thinking about how to migrate.

incomplete list

Blocking changes

  • The Invoke-Pester interface is incompatible as some parameters have been removed, we must use the new advanced interface where configuration is passed as a single object via -Configuration parameter.

Possibly blocking changes

  • -Pending and -Inconclusive are currently unimplemented and are converted to -Skip.
  • Parametrized scripts are unimplemented
@xtqqczze xtqqczze added the Issue-Enhancement the issue is more of a feature request than a bug label May 27, 2020
@iSazonov iSazonov added Issue-Meta an issue used to track multiple issues WG-Quality-Test issues in a test or in test infrastructure and removed Issue-Enhancement the issue is more of a feature request than a bug labels May 27, 2020
@iSazonov
Copy link
Collaborator

It would be nice to have a link to Pester 5.0 docs.
We will have to put "global" code to BeforeAll blocks.
It would interesting to see perf wins for our tests.

@vexx32
Copy link
Collaborator

vexx32 commented May 27, 2020

It's gonna be a bit more than just that but yeah we should really see if we can update tests to work with v5 of Pester sooner rather than later. It'll be a good opportunity to resolve any outstanding style issues with the existing tests as well; there's probably going to be a fair bit of refactoring needed, especially in the older tests due to the new split behaviour between test discovery and test runs.

@xtqqczze
Copy link
Contributor Author

xtqqczze commented May 27, 2020

@iSazonov the release notes appear to be the only documentation available for v5, issue opened: pester/docs#45

@iSazonov
Copy link
Collaborator

iSazonov commented May 27, 2020

All docs here https://github.com/pester/Pester/tree/v5.0 on main page.

GitHub
Pester is the ubiquitous test and mock framework for PowerShell. - pester/Pester

@iSazonov
Copy link
Collaborator

We could add new CIs for Pester 5.0 and migrate step by step, file by file.
For that we could change tags - "CI" with "CIv5", "Feature" with "FeatureV5" and so on.

@xtqqczze
Copy link
Contributor Author

Pester v5.1.0 is released with numerous improvements:

  • NUnit output is fixed.
  • Parametrized scripts are implemented.

Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

2 similar comments
Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

Copy link
Contributor

This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-No Activity Issue has had no activity for 6 months or more labels Nov 16, 2023
Copy link
Contributor

This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

@MatejKafka
Copy link

@kilasuit Still relevant, please reopen.

@kilasuit kilasuit added Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers and removed Resolution-No Activity Issue has had no activity for 6 months or more labels May 15, 2024
@kilasuit kilasuit reopened this May 15, 2024
@kilasuit
Copy link
Collaborator

kilasuit commented May 15, 2024

I think this will be a keep-open but low priority due to the amount of work that would be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Meta an issue used to track multiple issues Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers WG-Quality-Test issues in a test or in test infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants