Skip to content

ID-82: fix suite-level unmatched requirements bug#779

Open
karlnaden wants to merge 2 commits into
mainfrom
id-82-req-checker-bug-fix
Open

ID-82: fix suite-level unmatched requirements bug#779
karlnaden wants to merge 2 commits into
mainfrom
id-82-req-checker-bug-fix

Conversation

@karlnaden
Copy link
Copy Markdown
Contributor

Summary

Previously, the requirement coverage checker contained a bug where when addressing requirements linked to a test for which the requirement set it not linked to the suite would cause an error. Now, that error is resolved by using the same logic that handles suite-level requirements elsewhere .

Testing Guidance

Found and verified when updating CRD test kit requirements. To confirm:

  1. run bundle exec inferno console to access the Inferno console.
  2. run Inferno::CLI::RequirementsCoverageChecker.new(:ig_requirements).run. You will see in the table written to the console, a row for short_id "suite" (the suite has a requirement at the suite level in a requirement set not linked to the suite). Previously, no table would have been returned. (NOTE: the command will still end in an error due to no output directory, which is expected in inferno-core).

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.79%. Comparing base (07f8680) to head (394b655).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #779      +/-   ##
==========================================
+ Coverage   84.78%   84.79%   +0.01%     
==========================================
  Files         297      297              
  Lines       13969    13969              
  Branches     1955     1955              
==========================================
+ Hits        11843    11845       +2     
+ Misses       2118     2116       -2     
  Partials        8        8              
Flag Coverage Δ
backend 92.48% <ø> (+0.03%) ⬆️
frontend 79.39% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

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