Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper run all unit tests in a project or solution at once

Tags:

c#

resharper

I am inside the IDE and I can run all the unit tests in a file but is there any way to run all test in a project or solution at once?

like image 690
leora Avatar asked Sep 11 '25 04:09

leora


2 Answers

Right click on the project or solution in the VS solution-explorer and choose 'Run Unit Tests' Or go to the Resharper menu, choose Unit-Testing and choose one of the options from there.

like image 140
Will Dean Avatar answered Sep 12 '25 18:09

Will Dean


If you learn executing menu commands with Alt-Letters, you can execute many commands fast even if they don't have direct shortcuts. Especially, if shortcuts are two-key combos.

As for running all tests in solution the command is Alt-RUN, i.e. Alt-R for ReSharper menu, U for Unit Testing, and N for all tests in solution.

like image 36
Ilya Ryzhenkov Avatar answered Sep 12 '25 18:09

Ilya Ryzhenkov