From f357c800c5f39bfe46a9081ce47f38b983dfbe7e Mon Sep 17 00:00:00 2001 From: Shubhabrata Ghosh <35366351+Shubhabrata08@users.noreply.github.com> Date: Thu, 29 Feb 2024 17:11:49 +0530 Subject: [PATCH] Add dynamic status badge for Test Coverage in package README (#30655) --- ...eact-charting-3cdcdcab-6060-49a8-a6fd-4cb825190c97.json | 7 +++++++ packages/react-charting/README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 change/@fluentui-react-charting-3cdcdcab-6060-49a8-a6fd-4cb825190c97.json diff --git a/change/@fluentui-react-charting-3cdcdcab-6060-49a8-a6fd-4cb825190c97.json b/change/@fluentui-react-charting-3cdcdcab-6060-49a8-a6fd-4cb825190c97.json new file mode 100644 index 0000000000000..439786eedb5f4 --- /dev/null +++ b/change/@fluentui-react-charting-3cdcdcab-6060-49a8-a6fd-4cb825190c97.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Add dynamic status badge for test coverage", + "packageName": "@fluentui/react-charting", + "email": "shubhabrata08@gmail.com", + "dependentChangeType": "none" +} diff --git a/packages/react-charting/README.md b/packages/react-charting/README.md index 7353978b2985c..4174fe592f59e 100644 --- a/packages/react-charting/README.md +++ b/packages/react-charting/README.md @@ -61,7 +61,7 @@ A comprehensive contributor guide is available in our internal [wiki](https://ak ## Testing -![Static Badge](https://img.shields.io/badge/coverage-87%25-brightgreen) +![Test Coverage Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2Ffluentui-charting-contrib%2Ftest-coverage-artifacts%2FubuntuCoverage.json&query=%24.statementCoverage&suffix=%25&label=coverage&color=brightgreen) The library has a wide variety of tests to ensure quality of the library. The tests range from component tests, unit tests, visual regression tests, accessibility tests, integration tests and manual tests.