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

Add a package test that uses nunit framework 4.0 #1139

Closed
CharliePoole opened this issue Feb 12, 2022 · 3 comments · Fixed by #1156
Closed

Add a package test that uses nunit framework 4.0 #1139

CharliePoole opened this issue Feb 12, 2022 · 3 comments · Fixed by #1156
Assignees
Milestone

Comments

@CharliePoole
Copy link
Collaborator

That way we'll know when and if the api changes!

@CharliePoole
Copy link
Collaborator Author

@manfred-brands Would you be interested in doing this one?

@manfred-brands
Copy link
Member

I don't mind trying. I have to make myself familiar with your tests first.

@CharliePoole
Copy link
Collaborator Author

OK, you've got it... here's an outline of where I think you would need to start.

  1. Create a target Assembly. I suggest copying the mock-assembly project, making some name adjustment and using the latest NUnit 4 as the framework.
  2. Create some new tests. The tests are defined in package-tests.cake. We should have at least one targeting .net fx and one core or more... up to whatever targets nunit4 supports.
  3. There are lists of tests in package-definitiions.cake. You'll want to add them to the standard runner tests and the net core ones to the netcore tests as well.
  4. Run them using build -t Package or ./build.sh -t Package on linux.

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants