feat: add unit test project for Credfeto.Enumeration.Source.Generation.Generics#103
feat: add unit test project for Credfeto.Enumeration.Source.Generation.Generics#103dnyw4l3n13 wants to merge 3 commits into
Conversation
|
Code review complete — two findings fixed before marking ready:
Final state:
|
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
|
All CI checks pass. PR is ready for merge. CI summary:
No open review comments, no outstanding work. |
|
Checked in on PR status — nothing has changed since the last session. All CI checks still pass, no review comments to address, branch is up to date with |
…n.Generics Achieves 100% line, branch, and method coverage for EnumHelpers, covering GetNameReflection, GetName (cache-miss and cache-hit), GetDescriptionReflection (with and without Description attribute, and for undefined values), GetDescription, IsDefinedReflection, and IsDefined. Prompt: Work on issue #99 in credfeto/credfeto-enum-source-generation. Create unit test project for Credfeto.Enumeration.Source.Generation.Generics to achieve 100% code coverage.
…ource.Generation.Generics
Remove the UTF-8 BOM from EnumGetDescriptionTests.cs that was added by a formatter, and update both cache-hit assertions to verify the expected literal value directly rather than comparing against the first result only.
11946db to
c1573aa
Compare
|
Rebased onto |
|
PR marked ready. New CI run triggered — Stopping here per CI policy. Will resume automatically when checks complete. |
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
|
All CI checks passed after the rebase onto
No open review comments, no outstanding work. |
|
All CI checks continue to pass and no new review comments have arrived. No further action required — PR is ready for merge. |
Summary
Credfeto.Enumeration.Source.Generation.Generics.Testsunit test projectEnumHelpersGetNameReflection,GetName,GetDescriptionReflection,GetDescription,IsDefinedReflection,IsDefinedGetName,GetDescription, andIsDefinedGetDescriptionReflectiontested with a value with a[Description]attribute, without one, and with an undefined enum value (null field info path)TestEnumWithDescriptionenum in the test project for parameterised testsCloses #99