Skip to content

bids-standard/validation-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

BIDS Validation Tests

This repository contains tests to help validators ensure coverage of the BIDS Standard, as encoded in the schema.

The BIDS Schema defines a model where a context object is populated as the validator walks the file tree. For a given context, each rule either passes, fails or does not apply.

Test format

A test is an object with rules, does and contexts fields. A test collection is a list of tests:

- rules:
    - rules.X
    - rules.Y
  does: pass
  contexts:
    - sidecar:
        MetadataField1: Value1
        MetadataField2: Value2
      path: /path/to/file.ext
- rules: ...
  does: ...
  contexts: ...

About

Tests for schema-based BIDS Validator implementations

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published