I need to use the ReSharper Unit Test Runner to run my MSTest Unit Tests on VS 2008. I have heard of using "Gallio" to do this but I don't know what Gallio is (it seemed like some all purpose VS extensibility framework). Does anyone know the best way to run MSTest Unit Tests using ReSharper Test Runner?
...
I've installed ReSharper 4.1 and Gallio 3.0.5, but I don't get the gutter icons for unit tests. The tests seem to run fine in the Test Explorer, but I don't have icons next to the tests in code. What could be causing this? I previously had the MbUnit 2.4 ReSharper plugin installed, but it should be uninstalled now.
...
I am getting this error when trying to set an expectation on an object I mocked that inherits from MembershipUser:
ContactRepositoryTests.UpdateTest : FailedSystem.InvalidProgramException: JIT Compiler encountered an internal limitation.
Server stack trace:
at MockObjectType1.ToString()
Exception rethrown at [0]:
at System.Runtime....
I like the Unit test runner in ReSharper 4.5, and would like to use it with my MSTest tests, but one thing annoys me:
In some of our solutions, we have set up some Deployment Items in the .testrunconfig file. The ReSharper Unit Test runner does not seem to respect this, so I get errors when trying to run the unit tests from ReSharper.
...
http://stackoverflow.com/questions/747263/resharper-unit-test-runner-support-for-deployment-items
I have a follow up question for the question above. I'm using resharper version 4.5 with native mstest support to run mstest unit tests. When I configure resharper's unit test options to use my testrunconfig (in order to utilize my set of...
I am running VS2008 with Resharper 4.1, NUnit 2.2.7, coding in c#.
I would like to use an NUnit unit test as a debugging harness while I am developing the code.
My test is in a different project than the method being tested, but in the same solution.
I have put breakpoints into the unit test as well as the method being tested. VS is ...
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.
...
I'm trying to debug a unit test with the resharper testrunner but it's not working. Before my breakpoint is hit Visual Studio pops up a message box "There is no source code available for the current location." If I press OK it says LoadFromContextException.
Ideas anyone?
...
I've got about 650 NUnit tests in my current solution in VS2008, but 40 of these are categorized either as "LongRunning" or "Integration". I do not want these to run every time I've done a change and run my test-suite (only when I specifically ask for it, and on the CI at set times).
Setting this up with TestDriven.Net is a cinch:
Tools...
When setting up a new machine yesterday I:
Installed VS2008 without test support (I'd rather use Gallio and ReSharper if I need to use MSTest)
Installed ReSharper 5.0 beta
Installed Gallio 3.1 update 2
ReSharper doesn't see any of my MbUnit tests - there are no unit test markers in the margin and running all tests doesn't work. Shoul...
In both VSTS 2008 and VS 2010 RC1 when I create a Unit Test (mstest), I am not asked where I would like the project to be placed. It will always turn up at the Solution level. I would like to place the test project inside the folder of the class(es) that are being tested.
I have tried unloading the unit test project and adding it to t...
I have successfully used the Resharper 4.5 runner for xunit tests in vs2008. Now I want to try out MSpec and I want to use the Resharper 4.5 runner for MSpec. But I have them both installed I get an error message when starting Visual Studio, that a plugin can not be loaded, because there is already a plugin with the same name loaded.
Is...
I have some Tests that I run with ReSharpers "Run All Tests from Solution" feature. One of the classes being tested has a dependency on a file in the same folder as the assembly containing it. This file is copied to the output directory via MSBuild (set "Copy To Output Directory" to "Copy always").
Problem: The tests are not being run f...
I have some NUnit integration tests to test my FluentNHibernate mappings using a SQLite in-memory database. I am using the ReSharper test runner (v5.0.1659.36) in Visual Studio 2008.
When one of the NHibernate tests fails, the ReSharper test runner and Visual Studio freezes for 30+ seconds. (It will show that it failed but not show the...
Is there any "Debug Current Session" option within Resharper that works the same as "Run Current Session" or "Debug Selected Tests".
I want to create a keyboard shortcut that will debug the current Unit Test Session (or selected tests) regardless of what file currently has focus.
...
We have a WinForms application that we're planning to port to Silverlight. Obviously the UI will need to be totally rewritten, but we have a lot of business logic that's well-tested with NUnit tests. We use ReSharper to run the tests inside the IDE, and nunit-console to run the tests on the continuous integration machines.
As we start m...