summaryrefslogtreecommitdiff
path: root/tests/files/README.md
blob: 3faa3753454a4b261af4471f7e1976d43ead446b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Test files

Test files are divided up into 2 types of tests. They follow a naming schema that follows `(Number)(Type).yaml` Where number is just a ever increasing integer and Type is different depending on the test type. Each type of test should be counted seperatly.

- Successfull tests. Type: 's'
- Failing tests. Type: 'f'



# Successfull tests

Files in `success` folder.

Each file should contain a top level dict with the keys `data` and `schema` where the test data should exists.



# Failing tests

Files in `fail` folder.

Each file should contain a top level dict with the keys `data`, `schema` and `errors` where the test data should exists.



# cli tests

Simple schema and data files that is used to test input of files via cli.



# partial schemas

Files used to test partial schema support.