bids-specification icon indicating copy to clipboard operation
bids-specification copied to clipboard

[SCHEMA] Add internal validation test for schema

Open tsalo opened this issue 3 years ago • 2 comments

References #1037.

Changes proposed:

  • Add a test that checks that all objects referenced in the schema rules are also defined as schema objects.

To do:

  • [ ] Add test for order of entity definitions in objects/entities.yaml (#1071).

tsalo avatar Apr 11 '22 19:04 tsalo

Codecov Report

Merging #1058 (d86f779) into master (e140f35) will increase coverage by 1.65%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1058      +/-   ##
==========================================
+ Coverage   70.53%   72.19%   +1.65%     
==========================================
  Files           9       10       +1     
  Lines         930      953      +23     
==========================================
+ Hits          656      688      +32     
+ Misses        274      265       -9     
Impacted Files Coverage Δ
tools/schemacode/schemacode/tests/test_rules.py 100.00% <100.00%> (ø)
tools/schemacode/schemacode/_version.py 38.90% <0.00%> (+2.59%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1909cac...d86f779. Read the comment docs.

codecov[bot] avatar Apr 11 '22 19:04 codecov[bot]

Related to #1193

Remi-Gau avatar Aug 12 '22 07:08 Remi-Gau