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

.NET8 for SIL.Lift.Tests #1355

Merged
merged 4 commits into from
Oct 25, 2024
Merged

.NET8 for SIL.Lift.Tests #1355

merged 4 commits into from
Oct 25, 2024

Conversation

josephmyers
Copy link
Collaborator

@josephmyers josephmyers commented Oct 24, 2024

This included replacing NMock2 with Moq and rewriting almost the entire ParserTests class. The only downside of the port was the loss of ordering verification. I think it's possible to use MoqSequence to verify order, but it seems less flexible than what we were doing in NMock2.

I also changed the base classes for the three matcher classes to their model classes under test, given that Matcher was removed. Those classes become less necessary now, but I don't see a pressing need to refactor them away.


This change is Reviewable

This included replacing NMock2 with Moq and rewriting almost the entire ParserTests class. The only downside of the port was the loss of ordering verification. I think it's possible to use MoqSequence to verify order, but it seems less flexible than what we were doing in NMock2.

I also changed the base classes for the three matcher classes to their model classes under test, given that Matcher was removed. Those classes become less necessary now, but I don't see a pressing need to refactor them away.
Copy link

github-actions bot commented Oct 24, 2024

LibPalaso Tests

    45 files  +  1      45 suites  +1   13m 4s ⏱️ + 2m 14s
 4 828 tests ±  0   4 597 ✅ ±  0  231 💤 ±0  0 ❌ ±0 
14 002 runs  +341  13 375 ✅ +338  627 💤 +3  0 ❌ ±0 

Results for commit b95bba6. ± Comparison against base commit bc8e90e.

♻️ This comment has been updated with latest results.

@josephmyers josephmyers marked this pull request as ready for review October 24, 2024 09:30
@josephmyers josephmyers requested a review from hahn-kev October 24, 2024 09:31
@josephmyers josephmyers merged commit b896e28 into master Oct 25, 2024
3 checks passed
@josephmyers josephmyers deleted the net8-lift branch October 25, 2024 09:28
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.

2 participants