Skip to content

Add comprehensive tests for SimpleForInt Monify output#23

Merged
MooVC merged 2 commits intohotfix/19-pm-arrayequalityfrom
codex/add-comprehensive-unit-tests-for-monify.console
Oct 26, 2025
Merged

Add comprehensive tests for SimpleForInt Monify output#23
MooVC merged 2 commits intohotfix/19-pm-arrayequalityfrom
codex/add-comprehensive-unit-tests-for-monify.console

Conversation

@MooVC
Copy link
Copy Markdown
Owner

@MooVC MooVC commented Oct 26, 2025

Summary

  • add dedicated test classes under Monify.Console.Tests for the Monify-generated SimpleForInt type
  • cover constructor, implicit conversions, equality/inequality operators, hash code generation, and the current ToString behavior

Testing

  • dotnet test

https://chatgpt.com/codex/tasks/task_b_68fe8d17d46c8323801c253846518e71

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.87%. Comparing base (c5d0175) to head (e54307b).
⚠️ Report is 1 commits behind head on hotfix/19-pm-arrayequality.

Additional details and impacted files
@@                      Coverage Diff                       @@
##           hotfix/19-pm-arrayequality      #23      +/-   ##
==============================================================
+ Coverage                       88.24%   89.87%   +1.62%     
==============================================================
  Files                              43       43              
  Lines                             851      849       -2     
  Branches                           86       86              
==============================================================
+ Hits                              751      763      +12     
+ Misses                             60       48      -12     
+ Partials                           40       38       -2     

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

@MooVC MooVC merged commit c15e6f3 into hotfix/19-pm-arrayequality Oct 26, 2025
3 checks passed
@MooVC MooVC deleted the codex/add-comprehensive-unit-tests-for-monify.console branch October 26, 2025 21:36
MooVC added a commit that referenced this pull request Oct 31, 2025
* Added SequenceEqualityComparerGenerator and HashCodeGenerator to mimic the equality behavior supported by Valuify (#19).
Added Console and Console.Tests to support tests on generated code (rather than just tests for generated code).

* Mirror declaration snippets in console project (#20)

* Mirror declaration snippets in console project

* Corrected Simple class definitions - some minor whitespace cleanup

* Supressed annoying warning

* Addressed some warnings

* docs: add xml comments to console samples (#21)

* Add comprehensive tests for SimpleForInt Monify output (#23)

* Add comprehensive tests for SimpleForInt Monify output

* Corrected tests for SimpleForInt

* Add comprehensive tests for Monify console wrappers (#24)

* Add Monify console wrapper tests

* Minor format corrections

* - `ToString` no longer throws a `FormatException`.

* - Equality checks involing an encapsulated array containing identical values now yield true (#19).

* Add equivalent string operator tests across ForString suites (#25)

* Add ForString operator tests for equivalent strings

* Applied suggestions

* Flatten nested console test InnerTests folders (#26)

* Flatten nested console test InnerTests directories

* Remove trailing newlines from nested console tests

* Use collection expressions in immutable array tests (#27)

* - MONFY03 is no longer raised if the encapsulated type cannot be determined (#22).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant