Skip to content

Conversation

@alexanderlinne
Copy link
Collaborator

Simplify ObjectSyntaxElementsTests by removing duplicate test cases that use BeTypesThat()/BeMethodMembersThat() methods alongside existing .Be(Types().That()) style assertions. This reduces test maintenance overhead without decreasing coverage.

Simplify ObjectSyntaxElementsTests by removing duplicate test cases
that use BeTypesThat()/BeMethodMembersThat() methods alongside
existing .Be(Types().That()) style assertions. This reduces test
maintenance overhead without decreasing coverage.

Signed-off-by: Alexander Linne <alexander.linne@tngtech.com>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.20%. Comparing base (632605c) to head (81fa071).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #449      +/-   ##
==========================================
- Coverage   77.35%   77.20%   -0.16%     
==========================================
  Files         275      275              
  Lines       14411    14411              
  Branches     1337     1337              
==========================================
- Hits        11148    11126      -22     
- Misses       2844     2866      +22     
  Partials      419      419              

☔ 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.

@alexanderlinne alexanderlinne merged commit 6b80304 into main Jan 23, 2026
9 checks passed
@alexanderlinne alexanderlinne deleted the remove-redundant-object-syntax-elements-tests branch January 23, 2026 18:18
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.

4 participants