-
Notifications
You must be signed in to change notification settings - Fork 12
/
metadata.yaml
81 lines (79 loc) · 2.83 KB
/
metadata.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# document identifier
document: test-metadata
# there are two types: full config is "general",for simple test metadata use "test"
subtype: general
# enable linters for selected module type (not supported for generic class)
enable_lint: False
# Download resources from location to actual directory (stored as key value of dict).
download_urls:
downloaded_test.py: "https://raw.githubusercontent.com/fedora-modularity/meta-test-family/devel/mtf/metadata/examples/general-component/tests/simple.py"
# Clone resources via git clone, it clone git repository to directory_name
clone_gits:
downloaded_git: "https://github.com/container-images/memcached.git"
# Import tests by path glob or by name, without complex features for coverage mapping
import_tests:
- "*.py"
- "/bin/true"
- "downloaded_git/tests/sanity1.py"
# DNF form of tags: Lines are logical OR, "," is logical AND, "-" is logical NOT
tag_filters:
- tier1
- optional,-fedora
- dockerlinter
- dockerfilelinter
# Coverage test mapping. Describe which part are covered and what are not covered (does not contain "source")
# important are:
# leafs what contains test
# nonleafs means coverage path mapping
tests:
general:
# path in coverage mapping
source: generaltest.py
# code of test, where it lives (filesystem or some URL depending on backend (what is supported)
relevancy:
# relevancy descriptiont (NOT implemented now)
- rule 1
- rule 2
description: some general test doing
# description of test
backend: mtf
# which backend to use and group tests (you can filter tests for one backend)
options:
fedora_test:
source: fedora_specifictest.sh
# how to specify tags in generic tests
tags: tier1,tier2,tag1
description: some general test doing verbose test
backend: general
extend_test:
source: https://github.com/fedora-modularity/meta-test-family.git
tags: optional
description: some general test doing verbose test
backend: general
test_new_option:
description: desc of not covered, missing source
networking:
test_use_tcp:
description: desc of not covered, missing source
backend: general
test_use_udp:
description: desc of not covered, missing source
backend: general
# Test Sets,
# when you would like to schedule just part of tests and have varisou relevancy tag filters, use test_sets
# Not implemented for now
test_sets:
fedora:
tests:
- general
- fedora_test
all:
tests:
- "*"
tag_filters:
test_options:
tests:
- options/*
fedora:
tests:
- general