-
Notifications
You must be signed in to change notification settings - Fork 6
fix test coverage #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix test coverage #123
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves test coverage by adding comprehensive property getter/setter tests for entity classes and configuring code coverage settings appropriately.
Key Changes:
- Adds
EntityPropertiesTests.csto automatically test all entity properties using reflection - Configures test projects with
IsTestProjectproperty and updates code coverage exclusions in.runsettings - Reformats project files for consistency
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
.runsettings |
Updates code coverage exclusion patterns to exclude test projects and tools from coverage reports |
Hikkaba.slnx |
Adds .runsettings file to the solution |
Hikkaba.Tests.Unit/Hikkaba.Tests.Unit.csproj |
Adds IsTestProject property and reformats XML structure for consistency |
Hikkaba.Tests.Integration/Hikkaba.Tests.Integration.csproj |
Adds IsTestProject property to properly mark the project as a test project |
Hikkaba.Tests.Unit/Tests/Entities/EntityPropertiesTests.cs |
Introduces comprehensive reflection-based tests to verify getter/setter functionality for all entity properties |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updates the user deletion process to return a result model, allowing for better error handling and feedback. The repository method now attempts to retrieve the user, returning an error if the user is not found. The controller now handles the result of the deletion operation and returns an error page if necessary.
No description provided.