grafana / kindsys

a kind system for schematizing objects
Apache License 2.0
12 stars 0 forks source link

Add some tests and a small changes... #19

Open spinillos opened 1 year ago

spinillos commented 1 year ago

load_test.go was failing because we updated the schemas but we didn't update Thema to its latests version. Since we don't have CI yet that verify changes in the schemas it could happen...

kindscats.cue was splitted in kindcat_core.cue that have the Core schema and kindscats.cue that have the common information between schemas.

It adds a small set of tests to verify our current schemas. They aren't enough but its a start.

sdboyer commented 1 year ago

@spinillos i'm good with this, too, as a first step - is there any more you want to do here e.g. with the txtar?

spinillos commented 1 year ago

@sdboyer I only wanted to split the different schemas and add a few tests to verify that its working as expected. So changing thema or/and other things or/and dependencies, at least have something to verify in the CI.

Something that it could be nice to have is a common txtar framework for all projects. I have the feeling that I'm copy/paste everything when I work with thema, cuetsy and kindsys.

sdboyer commented 1 year ago

agreed, it would definitely be beneficial to have a unified txtar framework here