Skip to content

test(identity-lab): add comprehensive bUnit page render coverage - #133

Merged
mckaragoz merged 3 commits into
devfrom
test/identity-lab-bunit-page-render-coverage
Nov 1, 2026
Merged

mckaragoz merged 3 commits into
devfrom
test/identity-lab-bunit-page-render-coverage

Conversation

@mckaragoz

Copy link
Copy Markdown
Contributor

Summary

Adds lightweight bUnit smoke tests for all 24 routable Identity Lab components.

The goal is to detect page initialization and rendering regressions without introducing an exhaustive UI testing suite.

Changes

  • Add smoke tests for all 24 routable page components.
  • Preserve the existing behavioral render tests.
  • Add a route inventory guard to detect newly introduced pages without test coverage.
  • Provide shared bUnit setup for authentication, MudBlazor, and application dependencies.
  • Update test documentation.

Coverage

  • 24/24 routable components covered.
  • 29 test cases, including the route inventory guard.
  • No production code changes.
  • No additional dependencies beyond those introduced in the initial bUnit implementation.

Validation

  • Static route mappings and project XML verified.
  • git diff --check passed.
  • Tests could not be executed locally because the .NET SDK was unavailable.
  • Compilation and rendering must be verified by GitHub Actions before merging.

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.88%. Comparing base (b886b94) to head (0519926).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #133   +/-   ##
=======================================
  Coverage   86.88%   86.88%           
=======================================
  Files         682      682           
  Lines       19044    19044           
  Branches     2319     2319           
=======================================
  Hits        16546    16546           
  Misses       1747     1747           
  Partials      751      751           
Flag Coverage Δ
framework 86.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mckaragoz
mckaragoz merged commit 1f04430 into dev Nov 1, 2026
6 checks passed
@mckaragoz
mckaragoz deleted the test/identity-lab-bunit-page-render-coverage branch November 1, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant