forked from emcie-co/parlant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest_stochastics.json
118 lines (118 loc) · 2.38 KB
/
pytest_stochastics.json
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"test_plan_list": [
{
"plan": "complete",
"_comment": "utility plan equivalent to running all the other plans. used for vscode test explorer.",
"policy_tests": [
{
"policy": "default",
"tests": [
"tests/(?!core)"
]
},
{
"policy": "strict3",
"tests": [
"tests/core/stable"
]
},
{
"policy": "majority3",
"tests": [
"tests/core/unstable"
]
}
]
},
{
"plan": "default_disabled",
"_comment": "baseline plan to disbale all tests that are not specifically enabled by using it as a base for other plans",
"policy_tests": [
{
"policy": "disable",
"tests": [
"tests/"
]
}
]
},
{
"plan": "deterministic",
"_comment": "Plan to test all the non-stochastic tests. All should pass.",
"policy_tests": [
{
"policy": "default",
"tests": [
"tests/(?!core)"
]
}
]
},
{
"plan": "core_stable",
"_comment": "Stable stochastic tests should pass 3 out of 3 runs.",
"policy_tests": [
{
"policy": "strict3",
"tests": [
"tests/core/stable"
]
}
]
},
{
"plan": "core_unstable",
"_comment": "Unstable test are allowed one failure out of 3 runs. (Temporarily encompases all of `core`)",
"policy_tests": [
{
"policy": "majority3",
"tests": [
"tests/core/unstable"
]
}
]
}
],
"policy_list": [
{
"policy": "disable",
"at_least": 0,
"out_of": 0
},
{
"policy": "default",
"at_least": 1,
"out_of": 1
},
{
"policy": "experimental",
"at_least": 0,
"out_of": 3,
"pass_fast": false
},
{
"policy": "majority3",
"at_least": 2,
"out_of": 3
},
{
"policy": "strict3",
"at_least": 3,
"out_of": 3
}
],
"plan_fallback_list": [
{
"plan": "deterministic",
"overrides": "default_disabled"
},
{
"plan": "core_stable",
"overrides": "default_disabled"
},
{
"plan": "core_unstable",
"overrides": "default_disabled"
}
]
}