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

Add tests for canonical schemas #409

Open
2 tasks
michaeltlombardi opened this issue Apr 16, 2024 · 0 comments
Open
2 tasks

Add tests for canonical schemas #409

michaeltlombardi opened this issue Apr 16, 2024 · 0 comments
Labels
Issue-Enhancement The issue is a feature or idea

Comments

@michaeltlombardi
Copy link
Collaborator

michaeltlombardi commented Apr 16, 2024

Summary of the new feature / enhancement

As a maintainer and integrating developer, I want a functional suite of tests for the canonical DSC schemas so that I have confidence in their design and can rely on them more comfortably when working with DSC.

Proposed technical implementation details (optional)

In order of value from highest to lowest, we could:

  • Add minimal tests to ensure the bundled schemas are valid, like by using the jv CLI tool:

    jv -output detailed ./schemas/2024/04/bundled/config/document.json
  • Add fixtures for passing/failing objects against the schemas and verify the expected behavior, focusing on authoring mistakes that are high impact or most common.

@michaeltlombardi michaeltlombardi added the Issue-Enhancement The issue is a feature or idea label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea
Projects
None yet
Development

No branches or pull requests

1 participant