Skip to content

Tag every package and rewrite the readme - #2391

Merged
david-driscoll merged 2 commits into
mainfrom
claude/library-tags-readme-fbd3ff
Nov 16, 2026
Merged

david-driscoll merged 2 commits into
mainfrom
claude/library-tags-readme-fbd3ff

Conversation

@david-driscoll

@david-driscoll david-driscoll commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Every package now has NuGet tags, and the readme describes the libraries and lists only the packages this repo ships.

Tags

The tags every package shares are in the root Directory.Build.props: rocket-surgery;testing;unit-testing;test-helpers. Each project appends its own:

Package Added tags
Rocket.Surgery.Extensions.Testing logging, serilog, log-capture, dryioc, microsoft-extensions
Rocket.Surgery.Extensions.Testing.TUnit tunit, test-context, logging, serilog
Rocket.Surgery.Extensions.Testing.XUnit3 xunit, xunit-v3, xunit3, test-context, logging, serilog
Rocket.Surgery.Extensions.Testing.FakeItEasy fakeiteasy, mocking, auto-mocking, automock, dryioc, verify
Rocket.Surgery.Extensions.Testing.NSubstitute nsubstitute, mocking, auto-mocking, automock, dryioc, verify
Rocket.Surgery.Extensions.Testing.Fixtures test-data, test-fixtures, fixture-builder, builder-pattern
Rocket.Surgery.Extensions.Testing.AutoFixtures source-generator, roslyn, test-data, test-fixtures, fixture-builder, builder-pattern, fakeiteasy, nsubstitute
Rocket.Surgery.Extensions.Testing.SourceGenerators source-generator, roslyn, analyzers, code-fix, refactoring, generator-testing, snapshot-testing, verify
Rocket.Surgery.Extensions.Testing.Analyzers roslyn, analyzers

No package had tags before. AutoFixtures gets fakeiteasy and nsubstitute because the generated builders default each constructor parameter to a fake from whichever of the two the test project references. The FakeItEasy and NSubstitute packages get verify because they reference Verify.FakeItEasy and Verify.NSubstitute and initialize them.

Readme

The readme is packed into every package, so it is also each package's nuget.org page. It had only a status section and a package table with generated reference ids. It now has:

  • a short description of the libraries, from the docs site's wording
  • a getting-started section with the framework packages, the TUnit LoggerTest quickstart and the FakeItEasy auto-mocking example from docs/
  • a table of the eight packages a project references, with NuGet badges, and a line on the Analyzers package
  • the existing Contributing section

The Moq and xUnit v2 rows are gone, since neither project is in src/ any more. The build badge used the retired workflow/status shields endpoint and a ci workflow that doesn't exist; it now uses build.yml. I dropped the buildstats history badge and the nuke-data block, kept the Codecov badge (publish-results.yml uploads coverage), and pointed the license link at main. The docs site at rocketsurgeonsguild.github.io/Testing returns 404, so the doc links are absolute GitHub links to the pages under docs/src/content/docs.

Descriptions

Each package now sets PackageDescription next to its PackageTags, so nuget.org no longer shows the default "Package Description". The shared tags also drop rocket-surgeons-guild.

Package Description
Rocket.Surgery.Extensions.Testing LoggerTest<TContext>, a test base class that sends Serilog output to the test framework and captures log events for assertions, plus the DryIoc resolver rules the FakeItEasy and NSubstitute auto-mocking packages build on.
Rocket.Surgery.Extensions.Testing.TUnit TestRecord, the TUnit test context for LoggerTest<TContext>, which writes Serilog output to the current TUnit test's output.
Rocket.Surgery.Extensions.Testing.XUnit3 XUnitTestContext, the xUnit v3 test context for LoggerTest<TContext>, which writes Serilog output to the current test's output through ITestContextAccessor.
Rocket.Surgery.Extensions.Testing.FakeItEasy AutoFakeTest<TContext> and AutoFake, a DryIoc container that resolves the class under test and fills in FakeItEasy fakes for dependencies it can't construct. Also initializes Verify.FakeItEasy.
Rocket.Surgery.Extensions.Testing.NSubstitute AutoSubstituteTest<TContext> and AutoSubstitute, a DryIoc container that resolves the class under test and fills in NSubstitute substitutes for dependencies it can't construct. Also initializes Verify.NSubstitute.
Rocket.Surgery.Extensions.Testing.Fixtures ITestFixtureBuilder and the With extension methods for hand-written test data builders, with overloads that set a field or add items to List<T>, Collection<T> and dictionary fields.
Rocket.Surgery.Extensions.Testing.AutoFixtures Source generator that writes a test data builder from a class's constructor for types marked with [AutoFixture], with a With method per parameter and FakeItEasy or NSubstitute fakes as defaults.
Rocket.Surgery.Extensions.Testing.SourceGenerators GeneratorTestContextBuilder for testing Roslyn source generators, analyzers, code fixes, refactorings and completions: it compiles test sources, runs them and snapshots the results with Verify.SourceGenerators.
Rocket.Surgery.Extensions.Testing.Analyzers Placeholder Roslyn analyzer assembly with no analyzers, generators or diagnostics. Rocket.Surgery.Extensions.Testing references it, so there is no reason to install it directly.

The Analyzers description says what the package is today: an empty placeholder. Its only generator was removed in November 2024 and the core package still references it, so it looks vestigial; dropping it from the core package's references and retiring the id is a separate decision, and this PR doesn't delete the project.

Verification

mise exec -- dotnet msbuild <proj> -getProperty:PackageTags -getProperty:IsPackable (with -p:TargetFramework=net10.0 for the multi-targeted projects) on the nine projects under src/ shows IsPackable=true and the shared tags followed by each project's own. A test project (Analyzers.Tests) evaluates IsPackable=false with only the shared tags. All nine package ids exist on nuget.org. The types and members the snippets use (LoggerTest<TContext>, TestRecord.Create, CaptureLogs, AutoFakeTest<TContext>, AutoFake.Resolve<T>) are in the source. No build or pack was run.

-getProperty:PackageDescription on the same nine projects returns the descriptions above, and PackageTags no longer contains rocket-surgeons-guild.

Not changed

  • Rocket.Surgery.Extensions.Testing.Analyzers has no source files: its AnalyzerReleases.Shipped.md says its only generator was removed in November 2024. It still packs an empty analyzer assembly that the core package references.
  • PackageProjectUrl is https://rocketsurgeonsguild.github.io/, the organization root, and the Testing docs site is not deployed.
  • src/Testing.AutoFixtures/README.md is a design notes page, separate from the packed readme.

🤖 Generated with Claude Code

Add NuGet tags to the nine packages, shared ones in the root
Directory.Build.props and each project's own appended to them. The readme,
which is packed into every package, gets a short description, a getting
started section from the docs and a table of the packages that ship from
this repo, and drops the dead buildstats and ci.yml badges, the Moq and
xUnit v2 rows and the nuke-data block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added this to the v11.0.2 milestone Nov 16, 2026
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 medium

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
BestPractice 2 medium

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Each of the nine packages gets a PackageDescription next to its tags, so
nuget.org stops showing the default "Package Description". The Analyzers
description says plainly that the assembly is an empty placeholder, since
its only generator was removed in November 2024. The shared tags in the
root Directory.Build.props no longer include rocket-surgeons-guild.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit 5a39692. ± Comparison against base commit 119ac2f.

@david-driscoll
david-driscoll added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit cd2e063 Nov 16, 2026
8 of 9 checks passed
@david-driscoll
david-driscoll deleted the claude/library-tags-readme-fbd3ff branch November 16, 2026 01:49
@github-actions github-actions Bot added the ✨ mysterious We forgot to label this label Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ mysterious We forgot to label this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant