Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dotnet test > is there a way to show list of tests ran in console?

When running dotnet test, is there a way of showing a list of all tests ran in console instead of some output file?

Would be ideal to see a list like this in console:

x test1
🗸 test2
🗸 test3
x test4

instead of just overall test statistics (ran, failed, skipped).

like image 909
dee zg Avatar asked Sep 06 '18 07:09

dee zg


People also ask

Does dotnet use Vstest?

The dotnet vstest command is superseded by dotnet test , which can now be used to run assemblies.

Which of the following .NET core CLI commands would be used to execute all unit tests for a given project?

The dotnet test command is used to execute unit tests in a given solution.

Does dotnet test run tests in parallel?

Tests in the same test collection will be run sequentially against each other, but tests in different test collections will be run in parallel against each other.


1 Answers

Found it. settig verbosity level lists tests:

dotnet test -v=normal (or higher)

like image 54
dee zg Avatar answered Oct 02 '22 19:10

dee zg