Skip to content

Reorganize vaild and invalid schema examples for script.schema.json #1402

@prathmesh4321

Description

@prathmesh4321

Please describe your feature request

Currently, the schema examples for script.schema.json (https://github.com/buildtesters/buildtest/tree/devel/buildtest/schemas/examples/script.schema.json) are organized into single valid and invalid files. But moving forward it becomes hard to see/monitor whether tests for all attributes and features have been covered.

It might be a good idea to have seperate buildspecs for each type of attribute to test. Symlinks for required tests from the tutorials directory (https://github.com/buildtesters/buildtest/tree/devel/tutorials) can be created.

The regression test (https://github.com/buildtesters/buildtest/blob/devel/tests/schema_tests/test_script.py) which currently takes care of validating each test and expects one file input for valid and invalid needs to be modified accordingly.

Post question in Slack

  • I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • I confirm there is no existing issue for this issue

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions