There was a console command for listing all tests in a Visual Studio project with NUnit console runner. Do somebody know it?
I use version 3.6.1.
Just use the --explore switch.
If you're using the nunitlite executable, it will list out tests in the current project. Make sure that your namespaces are visible to the "Program.cs" file that nunitlite creates
eg:
MyTests.exe --explore
If you are using the full console, you'll need to specify the assembly,
eg:
nunit3-console.exe --explore mytests.dll
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.