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

Consider using NuGet release of Console to run tests in CI #780

Closed
ChrisMaddock opened this issue Jun 1, 2020 · 7 comments
Closed

Consider using NuGet release of Console to run tests in CI #780

ChrisMaddock opened this issue Jun 1, 2020 · 7 comments
Labels

Comments

@ChrisMaddock
Copy link
Member

#779 is a potentially major issue, and meant our own tests were not showing failures for several months. Fortunately there were no problems this time, but it does highlight a potential flaw in using the under-development test runner in our own CI.

Would it be more robust to use the latest NuGet release of the Console runner, to run our own tests? I can't think of any reason that wouldn't work - anyone else?

@CharliePoole
Copy link
Member

Seems like a valid approach so long as the package is isolated... i.e. no components get copied to the output directory.

Would it be worthwhile to have a non-default --self-test switch on the build to be used to run the actually built runner for final testing?

@ChrisMaddock
Copy link
Member Author

Would it be worthwhile to have a non-default --self-test switch on the build to be used to run the actually built runner for final testing?

Could you elaborate on what you mean here? 🙂

@CharliePoole
Copy link
Member

I'm imagining using the NuGet package to run the tests for

./build.sh -t Test

while this command

./build.sh -t Test -- --self-test

would revert to the current behavior of using the console build we just created.

Alternatively, it could be a separate target, like

./build.sh -t SelfTest

@ChrisMaddock
Copy link
Member Author

Ahh, I see what you mean. A kind of, final-smoke-test thing?

@CharliePoole
Copy link
Member

I'm inclined to close this without action. While it's possible to use the stable version of the console runner to test the new version we are building, it introduces complexity, which we don't particularly need.

If we want to be completely sure that the engine tests are not influenced by the console runner in use, I'd favor switching all of them to NUnitLite. What do others think? Shall I close this? Do we need another issue for using nunitlite?

@mikkelbu
Copy link
Member

mikkelbu commented Jan 8, 2022

I agree that we should close this one - and I don't mind switching the other two engine tests to NUnitLite.

@CharliePoole
Copy link
Member

Replaced by #1087

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

No branches or pull requests

3 participants