This is an old revision of the document!
This is a purpose for the MongoDB structure for collecting test results. The goal is to have three main collections :
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",
"testcases": [
{
"id": 1.1,
"name":"",
"description"
},
{
"id": 1.2,
"name":"",
"description"
}
],
"description":""
},
{...}
]
Test cases
[
{
"id":1.1,
"name":"",
"testproject": "1",
"test": "test.authenticate",
"description": ""
},
{...}
]
Test results
[
{
"id": "1.1.1",
"testcase": "1.1",
"date": "",
"platform":"",
"global_status":"",
"hardware_details":"",
"details":{}
},
{...}
]