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

[Feature request]: Testing - Evaluate & implement PSRule #1186

Closed
AlexanderSehr opened this issue Mar 26, 2022 · 5 comments
Closed

[Feature request]: Testing - Evaluate & implement PSRule #1186

AlexanderSehr opened this issue Mar 26, 2022 · 5 comments
Labels
[cat] testing category: testing enhancement New feature or request

Comments

@AlexanderSehr
Copy link
Contributor

As presented by @BernieWhite a few months back we should checkout PSRule for CARML

As a source we should check out the blog published by @tyconsulting

@AlexanderSehr AlexanderSehr added enhancement New feature or request [cat] testing category: testing labels Mar 26, 2022
@AlexanderSehr
Copy link
Contributor Author

AlexanderSehr commented Mar 27, 2022

I'd suggest to not use the GitHub/AzureDevOps task to allow users to test locally too. Similar to what we do with the Pester tests

@BernieWhite
Copy link

BernieWhite commented Mar 27, 2022

@MrMCake Is testing in Visual Studio Code tasks fine, or do we also need a ./tests.ps1 type file for people to execute from the root of the repo?

Tasks run in VSCode https://microsoft.github.io/PSRule/v2/validating-locally/.

Setting ps-rule.yaml and .vscode/tasks.json should be fine. #161

@eriqua eriqua changed the title Testing: Evaluate & implement PSRule [Feature request] Testing: Evaluate & implement PSRule Sep 14, 2022
@eriqua
Copy link
Contributor

eriqua commented Sep 14, 2022

See also discussion in issue #1580

@eriqua eriqua changed the title [Feature request] Testing: Evaluate & implement PSRule [Feature request]: Testing - Evaluate & implement PSRule Sep 14, 2022
@eriqua eriqua self-assigned this Sep 14, 2022
@eriqua
Copy link
Contributor

eriqua commented Sep 14, 2022

Opening a new issue #2026 to keep track of the PoC

@eriqua eriqua removed the hackathon label Sep 14, 2022
@eriqua eriqua removed their assignment Sep 14, 2022
@eriqua
Copy link
Contributor

eriqua commented Oct 5, 2022

Suggest to close as duplicate after the PoC described in issue #2026 and next steps to identify as per issue #2149. Moving back to needs triage.

@rahalan rahalan closed this as completed Oct 11, 2022
@rahalan rahalan moved this to Done in Backlog Dec 11, 2022
@rahalan rahalan added this to Backlog Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[cat] testing category: testing enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

4 participants