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

implement synthetic test for resource #32

Merged
merged 1 commit into from
Mar 23, 2023
Merged

implement synthetic test for resource #32

merged 1 commit into from
Mar 23, 2023

Conversation

SteveL-MSFT
Copy link
Member

A resource can only implement get and the new osinfo resource was designed just for this case. The README.md has examples of usage.

However, dsc will now perform a synthetic test by comparing the input and actual states. Changes allow for get to not accept any input.

Also updated the NotImplemented error to include a field describing what exactly isn't implemented.

@SteveL-MSFT SteveL-MSFT merged commit 064bcda into PowerShell:main Mar 23, 2023
@SteveL-MSFT SteveL-MSFT deleted the synthetic-test branch March 23, 2023 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant