avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Introduce runnable recipe schema validation #5891

Closed clebergnu closed 3 months ago

clebergnu commented 3 months ago

The runnable recipe, that is, the representation of runnables in JSON files, maps very close to the avocado.core.nrunner.runnable.Runnable class, but there has been no actual verification of its structure.

This introduces a JSON schema file that should better define the runnable recipe structure. It als adds a test that checks all the existing example runnable recipes.