From d225e03ade998d81ed07eed45a413bba812b3217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sun, 3 May 2026 21:10:53 +0200 Subject: [PATCH 1/2] chore: update Stryker dashboard URLs to Testably organization The repository moved to the Testably GitHub organization, so the Stryker mutator dashboard URL is now https://dashboard.stryker-mutator.io/reports/github.com/Testably/aweXpect.Mockolate. Updates the README badge and the mutation-test build pipeline (stryker-config project name, PR comment badge, dashboard PUT URL). --- Pipeline/Build.MutationTests.cs | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pipeline/Build.MutationTests.cs b/Pipeline/Build.MutationTests.cs index 83fb745..5f62079 100644 --- a/Pipeline/Build.MutationTests.cs +++ b/Pipeline/Build.MutationTests.cs @@ -67,7 +67,7 @@ partial class Build { "stryker-config": { "project-info": { - "name": "github.com/aweXpect/aweXpect.Mockolate", + "name": "github.com/Testably/aweXpect.Mockolate", "module": "{{project.Key.Name}}", "version": "{{branchName}}" }, @@ -124,7 +124,7 @@ partial class Build string body = "## :alien: Mutation Results" + Environment.NewLine - + $"[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FaweXpect%2FaweXpect.Mockolate%2Fpull/{prId}/merge)](https://dashboard.stryker-mutator.io/reports/github.com/aweXpect/aweXpect.Mockolate/pull/{prId}/merge)" + + $"[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FTestably%2FaweXpect.Mockolate%2Fpull/{prId}/merge)](https://dashboard.stryker-mutator.io/reports/github.com/Testably/aweXpect.Mockolate/pull/{prId}/merge)" + Environment.NewLine + MutationCommentBody; File.WriteAllText(ArtifactsDirectory / "PR_Comment.md", body); @@ -158,7 +158,7 @@ partial class Build client.DefaultRequestHeaders.Add("X-Api-Key", apiKey); // https://stryker-mutator.io/docs/General/dashboard/#send-a-report-via-curl await client.PutAsync( - $"https://dashboard.stryker-mutator.io/api/reports/github.com/aweXpect/aweXpect.Mockolate/{branchName}?module={project.Key.Name}", + $"https://dashboard.stryker-mutator.io/api/reports/github.com/Testably/aweXpect.Mockolate/{branchName}?module={project.Key.Name}", new StringContent(reportComment, new MediaTypeHeaderValue("application/json"))); } diff --git a/README.md b/README.md index 26c981c..482f29d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Build](https://github.com/aweXpect/aweXpect.Mockolate/actions/workflows/build.yml/badge.svg)](https://github.com/aweXpect/aweXpect.Mockolate/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=aweXpect_aweXpect.Mockolate&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=aweXpect_aweXpect.Mockolate) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=aweXpect_aweXpect.Mockolate&metric=coverage)](https://sonarcloud.io/summary/overall?id=aweXpect_aweXpect.Mockolate) -[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FaweXpect%2FaweXpect.Mockolate%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/aweXpect/aweXpect.Mockolate/main) +[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FTestably%2FaweXpect.Mockolate%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/Testably/aweXpect.Mockolate/main) Expectations to verify interactions with mocks from [Mockolate](https://github.com/aweXpect/Mockolate). From 185898afaa3ad547aa326709c879667d865080c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sun, 3 May 2026 21:32:59 +0200 Subject: [PATCH 2/2] chore: align Build badge and Octokit calls with Testably owner Addresses review feedback on the Stryker organization move: updates the GitHub Build badge in the README so it does not rely on the GitHub redirect from aweXpect, and switches the Octokit PR-comment calls in MutationTestDashboard from aweXpect to Testably so PR comment creation/updating keeps working. --- Pipeline/Build.MutationTests.cs | 6 +++--- README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pipeline/Build.MutationTests.cs b/Pipeline/Build.MutationTests.cs index 5f62079..a59869e 100644 --- a/Pipeline/Build.MutationTests.cs +++ b/Pipeline/Build.MutationTests.cs @@ -173,7 +173,7 @@ await client.PutAsync( Credentials tokenAuth = new(GithubToken); gitHubClient.Credentials = tokenAuth; IReadOnlyList comments = - await gitHubClient.Issue.Comment.GetAllForIssue("aweXpect", "aweXpect.Mockolate", prId); + await gitHubClient.Issue.Comment.GetAllForIssue("Testably", "aweXpect.Mockolate", prId); long? commentId = null; Log.Information($"Found {comments.Count} comments"); foreach (IssueComment comment in comments) @@ -188,12 +188,12 @@ await client.PutAsync( if (commentId == null) { Log.Information($"Create comment:\n{body}"); - await gitHubClient.Issue.Comment.Create("aweXpect", "aweXpect.Mockolate", prId, body); + await gitHubClient.Issue.Comment.Create("Testably", "aweXpect.Mockolate", prId, body); } else { Log.Information($"Update comment:\n{body}"); - await gitHubClient.Issue.Comment.Update("aweXpect", "aweXpect.Mockolate", commentId.Value, + await gitHubClient.Issue.Comment.Update("Testably", "aweXpect.Mockolate", commentId.Value, body); } } diff --git a/README.md b/README.md index 4598ffa..7f5edfe 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # aweXpect.Mockolate [![Nuget](https://img.shields.io/nuget/v/aweXpect.Mockolate)](https://www.nuget.org/packages/aweXpect.Mockolate) -[![Build](https://github.com/aweXpect/aweXpect.Mockolate/actions/workflows/build.yml/badge.svg)](https://github.com/aweXpect/aweXpect.Mockolate/actions/workflows/build.yml) +[![Build](https://github.com/Testably/aweXpect.Mockolate/actions/workflows/build.yml/badge.svg)](https://github.com/Testably/aweXpect.Mockolate/actions/workflows/build.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Testably_aweXpect.Mockolate&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Testably_aweXpect.Mockolate) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Testably_aweXpect.Mockolate&metric=coverage)](https://sonarcloud.io/summary/overall?id=Testably_aweXpect.Mockolate) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FTestably%2FaweXpect.Mockolate%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/Testably/aweXpect.Mockolate/main)