Skip to content
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

Unit tests: Convert NUnit Classic Assert to Constraint Model #364

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

axunonb
Copy link
Member

@axunonb axunonb commented Jan 7, 2024

  • Add NUnit.Analyzers
  • Migrate test code to Constraint Model
  • Add pragma warning disable CA1861 where methods are not called repeatedly
  • Update package references of test project
    • Microsoft.NET.Test.Sdk v17.8.0
    • NUnit v3.14.0
    • NUnit3TestAdapter v4.5.0
    • FluentAssertions v6.12.0"

* Add NUnit.Analyzers
* Migrate teset code to Constraint Model
* Add pragma warning disable CA1861 where methods are not called repeatedly
Copy link

codecov bot commented Jan 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a9b0fb3) 96% compared to head (45ba188) 96%.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #364   +/-   ##
===================================
- Coverage    96%    96%   -0%     
===================================
  Files        91     91           
  Lines      3230   3230           
===================================
- Hits       3115   3113    -2     
- Misses      115    117    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@axunonb axunonb merged commit a995ac4 into axuno:main Jan 7, 2024
3 of 4 checks passed
@axunonb axunonb deleted the pr/pr-nunit-constraint-model branch January 7, 2024 15:30
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.

1 participant