test_attributes.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * Copyright The OpenTelemetry Authors
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. /*
  6. * DO NOT EDIT, this is an Auto-generated file from:
  7. * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
  8. */
  9. #pragma once
  10. #include "opentelemetry/common/macros.h"
  11. #include "opentelemetry/version.h"
  12. OPENTELEMETRY_BEGIN_NAMESPACE
  13. namespace semconv
  14. {
  15. namespace test
  16. {
  17. /**
  18. The fully qualified human readable name of the <a href="https://wikipedia.org/wiki/Test_case">test
  19. case</a>.
  20. */
  21. static constexpr const char *kTestCaseName = "test.case.name";
  22. /**
  23. The status of the actual test case result from test execution.
  24. */
  25. static constexpr const char *kTestCaseResultStatus = "test.case.result.status";
  26. /**
  27. The human readable name of a <a href="https://wikipedia.org/wiki/Test_suite">test suite</a>.
  28. */
  29. static constexpr const char *kTestSuiteName = "test.suite.name";
  30. /**
  31. The status of the test suite run.
  32. */
  33. static constexpr const char *kTestSuiteRunStatus = "test.suite.run.status";
  34. namespace TestCaseResultStatusValues
  35. {
  36. /**
  37. pass
  38. */
  39. static constexpr const char *kPass = "pass";
  40. /**
  41. fail
  42. */
  43. static constexpr const char *kFail = "fail";
  44. } // namespace TestCaseResultStatusValues
  45. namespace TestSuiteRunStatusValues
  46. {
  47. /**
  48. success
  49. */
  50. static constexpr const char *kSuccess = "success";
  51. /**
  52. failure
  53. */
  54. static constexpr const char *kFailure = "failure";
  55. /**
  56. skipped
  57. */
  58. static constexpr const char *kSkipped = "skipped";
  59. /**
  60. aborted
  61. */
  62. static constexpr const char *kAborted = "aborted";
  63. /**
  64. timed_out
  65. */
  66. static constexpr const char *kTimedOut = "timed_out";
  67. /**
  68. in_progress
  69. */
  70. static constexpr const char *kInProgress = "in_progress";
  71. } // namespace TestSuiteRunStatusValues
  72. } // namespace test
  73. } // namespace semconv
  74. OPENTELEMETRY_END_NAMESPACE