DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Add tests for canonical schemas

Open michaeltlombardi opened this issue 2 months ago • 0 comments

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 avatar Apr 16 '24 21:04 michaeltlombardi