From fd7b3cdf0ae237289c7114977c1fc8611a5df467 Mon Sep 17 00:00:00 2001 From: Josh Keegan Date: Fri, 8 Nov 2024 19:39:22 +0000 Subject: [PATCH] Replace broken NuGet badges #251 The buildstats.info service that was being used to generate the badges has been shut down. Switched to shields.io & reformatted how we show them so that it's easier to understand the data you're being shown. --- README.md | 11 ++++++++--- docs/Makefile | 2 +- docs/nugetBadges.md | 8 +++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index eba8730..4409f8c 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,16 @@ Retry flickering test cases for xUnit, Reqnroll and SpecFlow in .NET. [//]: \# (Src: ciBadge.md) [![pipeline status](https://github.com/JoshKeegan/xRetry/actions/workflows/cicd.yaml/badge.svg)](https://github.com/JoshKeegan/xRetry/actions) -[![xRetry NuGet package](https://buildstats.info/nuget/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") -[![xRetry.SpecFlow NuGet package](https://buildstats.info/nuget/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") -[![xRetry.Reqnroll NuGet package](https://buildstats.info/nuget/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") +[//]: \# (Src: nugetBadges.md) + +| Testing Tool | Plugin | NuGet Package | +|-------------------------------|--------|---------------| +| [xUnit](#usage-xunit) | xRetry | [![xRetry NuGet Version](https://img.shields.io/nuget/v/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") [![xRetry NuGet Downloads](https://img.shields.io/nuget/dt/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") | +| [SpecFlow](#usage-specflow-3) | xRetry.SpecFlow | [![xRetry.SpecFlow NuGet Version](https://img.shields.io/nuget/v/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") [![xRetry.SpecFlow NuGet Downloads](https://img.shields.io/nuget/dt/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") | +| [Reqnroll](#usage-reqnroll-2) | xRetry.Reqnroll | [![xRetry.Reqnroll NuGet Version](https://img.shields.io/nuget/v/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") [![xRetry.Reqnroll NuGet Downloads](https://img.shields.io/nuget/dt/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") | + [//]: \# (Src: whenToUse.md) ## When to use this diff --git a/docs/Makefile b/docs/Makefile index 6b67fcc..16bd7aa 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -17,7 +17,7 @@ repo: echo $(GENERATED_DISCLAIMER) > ../README.md $(call append,repo/header.md,../README.md,0) $(call append,ciBadge.md,../README.md,0) - $(call append,nugetBadges.md,../README.md,1) + $(call append,nugetBadges.md,../README.md,0) $(call append,whenToUse.md,../README.md,0) $(call append,xRetry/usage.md,../README.md,0) $(call append,xRetry.SpecFlow/usage.md,../README.md,0) diff --git a/docs/nugetBadges.md b/docs/nugetBadges.md index 1921f6a..1facdef 100644 --- a/docs/nugetBadges.md +++ b/docs/nugetBadges.md @@ -1,3 +1,5 @@ -[![xRetry NuGet package](https://buildstats.info/nuget/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") -[![xRetry.SpecFlow NuGet package](https://buildstats.info/nuget/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") -[![xRetry.Reqnroll NuGet package](https://buildstats.info/nuget/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") +| Testing Tool | Plugin | NuGet Package | +|-------------------------------|--------|---------------| +| [xUnit](#usage-xunit) | xRetry | [![xRetry NuGet Version](https://img.shields.io/nuget/v/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") [![xRetry NuGet Downloads](https://img.shields.io/nuget/dt/xRetry)](https://www.nuget.org/packages/xRetry "Download xRetry from NuGet") | +| [SpecFlow](#usage-specflow-3) | xRetry.SpecFlow | [![xRetry.SpecFlow NuGet Version](https://img.shields.io/nuget/v/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") [![xRetry.SpecFlow NuGet Downloads](https://img.shields.io/nuget/dt/xRetry.SpecFlow)](https://www.nuget.org/packages/xRetry.SpecFlow "Download xRetry.SpecFlow from NuGet") | +| [Reqnroll](#usage-reqnroll-2) | xRetry.Reqnroll | [![xRetry.Reqnroll NuGet Version](https://img.shields.io/nuget/v/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") [![xRetry.Reqnroll NuGet Downloads](https://img.shields.io/nuget/dt/xRetry.Reqnroll)](https://www.nuget.org/packages/xRetry.Reqnroll "Download xRetry.Reqnroll from NuGet") | \ No newline at end of file