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

Create new nunit.common assembly #1609

Merged
merged 6 commits into from
Jan 23, 2025
Merged

Create new nunit.common assembly #1609

merged 6 commits into from
Jan 23, 2025

Conversation

CharliePoole
Copy link
Member

Fixes #1608

Throwing this out for review. I added only the InternalTrace code plus some classes that were using cross-project source links and so obviously belong in a common assembly.

I eliminated the NUnit.Common namespace and put all these things in NUnit, so they can be used without adding a using statement.

I also removed ILogging and ILogger interfaces, which didn't seem to be doing much for us.

I haven't moved the tests to a separate assembly yet but I think I should.

@CharliePoole CharliePoole requested review from a team and veleek and removed request for a team January 22, 2025 05:28
@CharliePoole CharliePoole changed the title WIP: Create new nunit.common assembly Create new nunit.common assembly Jan 22, 2025
@CharliePoole
Copy link
Member Author

Getting this reviewed and merged will enable a number of things. I'm pretty sure we will find other things to move here as we go along, but I see that as being a file or two at a time, as demanded by other issues.

Copy link
Member

@manfred-brands manfred-brands left a comment

Choose a reason for hiding this comment

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

Most changes are fine.
Questions about AgentExitCodes and InternalTraceLevel.

src/NUnitEngine/nunit.common.tests/Program.cs Outdated Show resolved Hide resolved
src/NUnitEngine/nunit.common/AgentExitCodes.cs Outdated Show resolved Hide resolved
@CharliePoole CharliePoole changed the title Create new nunit.common assembly WIP: Create new nunit.common assembly Jan 23, 2025
@CharliePoole
Copy link
Member Author

I'll need to fix the conflicts and I want to check the defunct issue-1578 branch, which also created NUnit.Common to see if there is anything else to be added. Marked as WIP, briefly I hope.

@CharliePoole CharliePoole changed the title WIP: Create new nunit.common assembly Create new nunit.common assembly Jan 23, 2025
@CharliePoole CharliePoole merged commit 2768679 into version4 Jan 23, 2025
4 checks passed
@CharliePoole CharliePoole deleted the issue-1608 branch January 23, 2025 17:12
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