Skip to content

nunit3-netcore-console.dll is not finding tests in all my assemblies #1357

Answered by CharliePoole
kurtsmack asked this question in Q&A
Discussion options

You must be logged in to vote

A few things you might try...

  1. Eliminate references to both Microsoft.NET.Test.Sdk and NUnit3TestAdapter. They are not used by nunit-netcore-console. In particular, the adapter may be pulling in a different version of the NUnit engine.
  2. Keep the references, but use a compatible version of the console runner... i.e. the same version as that of the nunit.engine included with the adapter. (Sorry, I don't know what that is for 4.5)
  3. Use nunit3-console.exe instead of nunit3-netcore-console.dll. However, use a later version, which supports .NET 6.0. I suggest one of the 3.15 or 3.16 versions.

One question... are any of your failing assemblies using one of these?

  • Windows Forms
  • WPF
  • ASP.NET Core

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kurtsmack
Comment options

@kurtsmack
Comment options

Answer selected by kurtsmack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants