Skip to content

feat!: rename AddAdvancedDependencyInjection to AddEasyScrutor and add assembly filters#26

Merged
alexdresko merged 7 commits into
masterfrom
feat/easy-scrutor-assembly-filters
Dec 19, 2025
Merged

feat!: rename AddAdvancedDependencyInjection to AddEasyScrutor and add assembly filters#26
alexdresko merged 7 commits into
masterfrom
feat/easy-scrutor-assembly-filters

Conversation

@alexdresko

Copy link
Copy Markdown
Owner

Breaking Changes: Renamed AddAdvancedDependencyInjection to AddEasyScrutor. New Features: Added AddEasyScrutorForAssembliesStartingWith and AddEasyScrutorForAssembliesContaining methods for assembly filtering with case-insensitive matching. Updated all tests and examples.

BREAKING CHANGE: Renamed AddAdvancedDependencyInjection method to AddEasyScrutor for better alignment with package name. Also added new assembly filtering methods AddEasyScrutorForAssembliesStartingWith and AddEasyScrutorForAssembliesContaining.
Added AssemblyFilterTests with 13 test cases covering:
- AddEasyScrutorForAssembliesStartingWith functionality
- AddEasyScrutorForAssembliesContaining functionality
- Case-insensitive matching behavior
- Negative test cases for non-matching assemblies
Updated all test files to use the renamed AddEasyScrutor method instead of AddAdvancedDependencyInjection.
Updated all example applications (BlazorServer, ConsoleHost, Mvc, WebApi) to use the renamed AddEasyScrutor method.
@codecov

codecov Bot commented Dec 19, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/EasyScrutor/ServiceCollectionExtensions.cs 80.00% 0 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

Comment thread tests/EasyScrutor.Tests/AssemblyFilterTests.cs Fixed
alexdresko and others added 3 commits December 18, 2025 23:33
…to local variable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Changed null-conditional operators to explicit null checks for better test coverage.
Now achieves 100% line and branch coverage.
@alexdresko
alexdresko merged commit 1d93e1b into master Dec 19, 2025
4 of 5 checks passed
@alexdresko
alexdresko deleted the feat/easy-scrutor-assembly-filters branch December 19, 2025 04:43
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.

2 participants