Parse and display Knapsack reports
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Display test durations generated by Knapsack.
Intended users
Development Team Lead, Software Developer, DevOps Engineer, Data Analyst
Further details
Example reports:
- https://github.com/ArturT/knapsack/blob/69e113550265c1ea8e60f4e65855ac2a9d8cb8f7/knapsack_rspec_report.json
- https://gitlab-org.gitlab.io/-/gitlab-ce/-/jobs/254426998/artifacts/knapsack/gitlab-ce/rspec_report-master.json
Proposal
Parse the JSON files with test durations that Knapsack outputs and display a report with filename and duration:
(similar to how we do with JUnit reports)
Suggested syntax for .gitlab-ci.yml
:
artifacts:
paths:
- report.json
reports:
knapsack: report.json
Edited by 🤖 GitLab Bot 🤖