ioBroker / testing

Shared testing utilities for ioBroker
MIT License
8 stars 12 forks source link

Test jsonConfig against schema #583

Open foxriver76 opened 1 year ago

foxriver76 commented 1 year ago

as admin now also validates the json config against the schema it would be nice to have this in adapter tests too

https://github.com/ioBroker/adapter-react-v5/blob/main/schemas/jsonConfig.json

mcm1957 commented 6 months ago

Attention: As jsonConfig Tests often fail due to (often small) errors in checking schema a forced testing of json schema could be problematic. At least a possibility to disable the check must be provided (i.e. like disabling linter tests)