This is an old revision of the document!
The mission of this project is to provide a common way for gathering all the results of OPNFV tests projects into a single place. It should expose a REST API for the collect of results and push them into a MongoDB database.
Here are the key functions :
Test projects
Test cases Specifiying a test project :
Test results Specfiying both test project and test case :
This API will rely on JSON to represent states of REST resources. See the full API specification here.
The goal is to have three main collections : tests projects, test cases and test results related to each other by a numbering system. The test result would be stored either as plain text or json structure in the test results collection on details field
Test projects
[
{
"id": 1,
"name": "functest",
"description":""
},
{...}
]
Test cases
[
{
"id":1.1,
"name":"",
"testproject": "1",
"test": "",
"description": ""
},
{...}
]
Test results
[
{
"id": "1.1.1",
"testcase": "1.1",
"date": "",
"platform":"",
"global_status":"",
"hardware_details":"",
"installer_type":"",
"details":{}
},
{...}
]