Skip to content

Conversation

@axunonb
Copy link
Collaborator

@axunonb axunonb commented Oct 17, 2024

  • Migrate NUnit 3.14.0 to 4.2.2
  • Add NUnit.Analyzers 4.3.0
  • Convert Classic Assert to Constraint Model
  • Introduce Assert.Multiple to group assertions, ensuring all are evaluated even if some fail.
  • Simplify test case source return types to IEnumerable without a type argument
  • Remove unused using directives and added necessary ones.

Test logic is left unchanged except for 7 tests in Exception context.
Here all try...catch blocks are replaced with Throws. assertions.

Closes #611

* Migrate NUnit 3.14.0 to 4.2.2
* Add NUnit.Analyzers 4.3.0
* Convert Classic Assert to Constraint Model
* Introduce Assert.Multiple to group assertions, ensuring all are evaluated even if some fail.
* Simplify test case source return types to IEnumerable without a type argument
* Remove unused using directives and added necessary ones.

Test logic is left unchanged except for 7 tests in Exception context.
Here all try...catch blocks are replaced with `Throws.` assertions.
@axunonb axunonb changed the title Migrated Ical.Net.Tests rpoject from NUnit3 to NUnit 4 Migrated Ical.Net.Tests project from NUnit3 to NUnit 4 Oct 17, 2024
@axunonb axunonb requested a review from minichma October 17, 2024 14:28
@axunonb
Copy link
Collaborator Author

axunonb commented Oct 19, 2024

@minichma Please take a look, if time allows. Can we merge this PR?

@minichma
Copy link
Collaborator

Sure, will have a look right now.

minichma
minichma previously approved these changes Oct 19, 2024
Copy link
Collaborator

@minichma minichma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Was just a very quick review, more an optical one. Found just a few formatting issues.

@sonarqubecloud
Copy link

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.

Migrate unit tests from NUnit v3 to v4

2 participants