User Tools

Site Tools


collection_of_test_results

This is an old revision of the document!


Description

This is a purpose for the MongoDB structure for collecting test results. The goal is to have three main collections :

  • tests projects
  • test cases
  • 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

Structure

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":{}
  },
  {...}
]
collection_of_test_results.1435831043.txt.gz · Last modified: 2015/07/02 09:57 by Morgan Richomme