Socket
Book a DemoInstallSign in
Socket

slack_test_reporter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack_test_reporter

bundlerRubygems
Version
0.0.1
Version published
Maintainers
1
Created
Source

Slack Test Reporter

Reports

A report has many suites

Suites

A suite has many results

Results

Example

Converts this JUnit XML Test summary into a formatted Slack message

{
  "total_time": 32328.18632,
  "total_count": 1345,
  "success_count": 1247,
  "failed_count": 0,
  "skipped_count": 98,
  "error_count": 0,
  "test_suites": [
    {
      "name": "ee:instance",
      "total_time": 6787.161369000001,
      "total_count": 320,
      "success_count": 300,
      "failed_count": 0,
      "skipped_count": 20,
      "error_count": 0,
      "suite_error": null,
      "test_cases": [
        {
          "status": "success",
          "name": "Verify In merge trains new thread discussion does not drop MR",
          "classname": "qa.specs.features.ee.browser_ui.4_verify.new_discussion_not_dropping_merge_trains_mr_spec",
          "file": "./qa/specs/features/browser_ui/4_verify/new_discussion_not_dropping_merge_trains_mr_spec.rb",
          "execution_time": 173.831842,
          "system_output": null,
          "stack_trace": null,
          "recent_failures": null
        },
        {
          "status": "success",
          "name": "Manage standard when admin approval is required allows user login after approval",
          "classname": "qa.specs.features.browser_ui.1_manage.login.register_spec",
          "file": "./qa/specs/features/browser_ui/1_manage/login/register_spec.rb",
          "execution_time": 173.831842,
          "system_output": null,
          "stack_trace": null,
          "recent_failures": null
        }
      ]
    },
    {
      "name": "ee:relative_url",
      "total_time": 6787.161369000001,
      "total_count": 320,
      "success_count": 300,
      "failed_count": 0,
      "skipped_count": 20,
      "error_count": 0,
      "suite_error": null,
      "test_cases": [
        {
          "status": "success",
          "name": "Verify In merge trains new thread discussion does not drop MR",
          "classname": "qa.specs.features.ee.browser_ui.4_verify.new_discussion_not_dropping_merge_trains_mr_spec",
          "file": "./qa/specs/features/browser_ui/4_verify/new_discussion_not_dropping_merge_trains_mr_spec.rb",
          "execution_time": 173.831842,
          "system_output": null,
          "stack_trace": null,
          "recent_failures": null
        },
        {
          "status": "failed",
          "name": "Manage standard when admin approval is required allows user login after approval",
          "classname": "qa.specs.features.browser_ui.1_manage.login.register_spec",
          "file": "./qa/specs/features/browser_ui/1_manage/login/register_spec.rb",
          "execution_time": 173.831842,
          "system_output": null,
          "stack_trace": null,
          "recent_failures": null
        }
      ]
    }
  ]
}

example

FAQs

Package last updated on 14 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts