Skip to content

Change IsInstanceOfType to return the instance of type T#5832

Merged
Evangelink merged 1 commit intodev/v4from
dev/ygerges/isinstanceof
Jun 19, 2025
Merged

Change IsInstanceOfType to return the instance of type T#5832
Evangelink merged 1 commit intodev/v4from
dev/ygerges/isinstanceof

Conversation

@Youssef1313
Copy link
Copy Markdown
Member

@Youssef1313 Youssef1313 commented Jun 19, 2025

Related to #1285

Closes #1573

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 75.61%. Comparing base (495fcb8) to head (1f6b69b).

Files with missing lines Patch % Lines
...estFramework/Assertions/Assert.IsInstanceOfType.cs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           dev/v4    #5832      +/-   ##
==========================================
+ Coverage   75.26%   75.61%   +0.34%     
==========================================
  Files         611      611              
  Lines       38506    37461    -1045     
==========================================
- Hits        28983    28327     -656     
+ Misses       9523     9134     -389     
Flag Coverage Δ
Debug 75.61% <88.88%> (+0.34%) ⬆️
integration 75.61% <88.88%> (-0.09%) ⬇️
production 75.61% <88.88%> (+0.34%) ⬆️
unit 75.61% <88.88%> (+4.27%) ⬆️

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

Files with missing lines Coverage Δ
...estFramework/Assertions/Assert.IsInstanceOfType.cs 32.66% <88.88%> (-9.01%) ⬇️

... and 36 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Evangelink Evangelink merged commit 834e34c into dev/v4 Jun 19, 2025
9 checks passed
@Evangelink Evangelink deleted the dev/ygerges/isinstanceof branch June 19, 2025 12:33
@Youssef1313 Youssef1313 linked an issue Jun 19, 2025 that may be closed by this pull request
@Youssef1313 Youssef1313 added this to the 4.0.0 milestone Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return T from Assert.IsInstanceOfType<T>()

3 participants