Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper Unit Test Runner - TestCase

I like using the ReSharper unit test runner, but it doesn't support the TestCase attribute that was added in NUnit 2.5. Is there any hack to get round this?

I can obviously use another test runner, but I like the ReSharper one.

like image 207
DownChapel Avatar asked Sep 25 '09 19:09

DownChapel


People also ask

How do I run unit tests with ReSharper?

Ctrl+U R / Debug Unit Tests. Ctrl+U D on the toolbar. To run all tests in the session, click Run Current Session. Ctrl+U Y on the toolbar or alternatively, choose ReSharper | Unit Tests | Run Current Session from the main menu.

What is test runner in unit testing framework?

Unit Test Runner is a powerful unit testing tool. It executes your unit tests, navigates through tests, and facilitates the processing of test results. Unit Test Runner supports the MbUnit, MSpec, VS Test, NUnit, SlUnitTesting and xUnit frameworks.

How do I enable dotCover in ReSharper?

On the main menu, choose ReSharper | Options. Expand the 'Environment' node, click 'Products & Features'. Select/clear the 'dotCover' check box on the 'Products & Features' page of the 'Options' dialog box.

How do you unit test a session?

To open this window, press Ctrl+Alt+T or choose ReSharper | Windows | Unit Test Sessions from the main menu. The window also opens automatically each time you run or debug unit tests from the current document or from the project/solution, create a new test session, or add tests to a test session.


1 Answers

I love ReSharper, but it does not yet support [TestCase]. However, take a look at the Gallio plug-in for ReSharper which does.

http://www.gallio.org/

like image 78
Keith Adler Avatar answered Oct 18 '22 14:10

Keith Adler