返回介绍

3.5.22. test_result

发布于 2023-09-20 23:50:40 字数 2555 浏览 0 评论 0 收藏 0

Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

3.5.22. test_result

resource type: test_result
Attributes:
  • test_resultid (integer) – the unique ID of this test result

  • builderid (integer) – id of the builder for this test result

  • test_result_setid (integer) – id of the test result set that the test result belongs to

  • test_name? (string) – the name of the test, if any

  • test_code_path? (string) – the code path associated to test, if any

  • line? (string) – the number of the line in the code path that produced this result, if any

  • duration_ns? (integer) – the number of nanoseconds it took to perform the test, if available

  • value (string) – the value of the test

example

{
    "test_resultid": 1042,
    "builderid": 14,
    "test_result_setid": 412,
    "test_name": "test.perf.buildbot.api.123",
    "test_code_path": "master/buildbot/spec/types/test_result.raml",
    "duration_ns": 120410,
    "line": 123,
    "value": "31.1382"
}

This resource represents a test result. Test results that are produced by a single test run are grouped by a relation to a test result set. Single test result set may represent thousands of test results.

3.5.22.1. Update Methods

All update methods are available as attributes of master.data.updates.

class buildbot.data.test_result_sets.TestResult
path: /test_result_sets/{test_result_setid}/results
Path Keys:

test_result_setid (number) – the id of the test result set

This path selects all test results for the given test result set

GET
returns

collection of test_result

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文