readded confs, some basic exception handling, and reworking conf now
This commit is contained in:
4
conf/config.json
Normal file
4
conf/config.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"units_path": "/home/phanes/Development/internal/ftests/conf/units/all_test.units",
|
||||
"plan_path": "/home/phanes/Development/internal/ftests/conf/plans/test.plan"
|
||||
}
|
||||
6
conf/plans/test.plan
Normal file
6
conf/plans/test.plan
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"plan": [
|
||||
{ "name": "independent test", "depends on": null },
|
||||
{ "name": "dependent test", "depends on": [ "independent test", null, null ] }
|
||||
]
|
||||
}
|
||||
22
conf/units/all_test.units
Normal file
22
conf/units/all_test.units
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"units": [
|
||||
{
|
||||
"name": "independent test",
|
||||
"target": "/home/phanes/tests/test-script-pass.sh",
|
||||
"output": "pass",
|
||||
"rectifier": "/home/phanes/tests/test-script-rectifier.sh",
|
||||
"active": true,
|
||||
"required": true,
|
||||
"rectify": true
|
||||
},
|
||||
{
|
||||
"name": "dependent test",
|
||||
"target": "/home/phanes/tests/test-script-pass.sh",
|
||||
"output": "pass",
|
||||
"rectifier": "/home/phanes/tests/test-script-rectifier.sh",
|
||||
"active": true,
|
||||
"required": true,
|
||||
"rectify": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user