Skip to main content

Builds Summary

API RequestLinkExample
GETprotocol://url:port/api/agents/{{agentId}}/plugins/test2code/builds/summaryhttp://ecse0050029e.epam.com:8090/api/agents/rpapi/plugins/test2code/builds/summary

JSON Example#

[
{
"buildVersion": "0.1.0",
"detectedAt": 1615385766462,
"summary": {
"coverage": 67.512077294686,
"coverageCount": {
"covered": 559,
"total": 828
},
"methodCount": {
"covered": 69,
"total": 97
},
"scopeCount": 7,
"arrow": "UNCHANGED",
"risks": 0,
"riskCounts": {
"new": 0,
"modified": 0,
"total": 0
},
"testDuration": 16147,
"tests": [
{
"type": "AUTO",
"summary": {
"coverage": {
"percentage": 29.95169082125604,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 248,
"total": 828
}
},
"testCount": 12,
"duration": 16147
}
},
{
"type": "MANUAL",
"summary": {
"coverage": {
"percentage": 49.75845410628019,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 412,
"total": 828
}
},
"testCount": 2,
"duration": 0
}
},
{
"type": "API",
"summary": {
"coverage": {
"percentage": 44.20289855072464,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 366,
"total": 828
}
},
"testCount": 15,
"duration": 0
}
},
{
"type": "UI",
"summary": {
"coverage": {
"percentage": 57.971014492753625,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 480,
"total": 828
}
},
"testCount": 15,
"duration": 0
}
}
],
"testsToRun": {
"count": 0,
"byType": {}
},
"recommendations": []
}
},
{
"buildVersion": "0.2.0",
"detectedAt": 1615391662030,
"summary": {
"coverage": 61.94581280788177,
"coverageCount": {
"covered": 503,
"total": 812
},
"methodCount": {
"covered": 66,
"total": 98
},
"scopeCount": 4,
"arrow": "DECREASE",
"risks": 2,
"riskCounts": {
"new": 2,
"modified": 0,
"total": 2
},
"testDuration": 30527,
"tests": [
{
"type": "AUTO",
"summary": {
"coverage": {
"percentage": 26.354679802955665,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 214,
"total": 812
}
},
"testCount": 12,
"duration": 30527
}
},
{
"type": "MANUAL",
"summary": {
"coverage": {
"percentage": 61.206896551724135,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 497,
"total": 812
}
},
"testCount": 22,
"duration": 0
}
},
{
"type": "UI",
"summary": {
"coverage": {
"percentage": 27.339901477832512,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 222,
"total": 812
}
},
"testCount": 9,
"duration": 0
}
},
{
"type": "API",
"summary": {
"coverage": {
"percentage": 51.477832512315274,
"methodCount": {
"covered": 0,
"total": 0
},
"count": {
"covered": 418,
"total": 812
}
},
"testCount": 17,
"duration": 0
}
}
],
"testsToRun": {
"count": 6,
"byType": {
"MANUAL": 2,
"API": 2,
"UI": 2
}
},
"recommendations": [
"Run recommended tests to cover modified methods",
"Update your tests to cover risks"
]
}
}
]