Skip to content

implement synthetic test for resource#32

Merged
SteveL-MSFT merged 1 commit intoPowerShell:mainfrom
SteveL-MSFT:synthetic-test
Mar 23, 2023
Merged

implement synthetic test for resource#32
SteveL-MSFT merged 1 commit intoPowerShell:mainfrom
SteveL-MSFT:synthetic-test

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