skaliber / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Support Resharper 6.1 #873

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Resharper 6.1
2. No unit test support in Resharper 6.1

What is the expected output? What do you see instead?
If I manually add the Gallio Resharper plugin dir, Resharper errors saying it 
is built with Resharper 6.0.

What version of the product are you using? On what operating system?
Gallio 3.3.458.0, Resharper 6.1, VS 2010

Original issue reported on code.google.com by rhoff...@extended64.com on 29 Dec 2011 at 4:26

GoogleCodeExporter commented 8 years ago
The latest nightly builds support R# 6.1.

http://ccnet.gallio.org/Distributables/

Original comment by grahamr...@gmail.com on 29 Dec 2011 at 4:59

GoogleCodeExporter commented 8 years ago
I installed build 567. I can now run some tests but there are some TextFixture 
classes that randomly (it seems) quit working. That is, I get the dreaded "No 
tests found in file". This has happened before and the workaround was to 
disable and re-enable Gallio in ReSharper/Options/Tools/Unit Testing. Gallio no 
longer shows up there.

Running the tests in Icarus is my workaround.

Original comment by rayme...@gmail.com on 30 Dec 2011 at 6:34

GoogleCodeExporter commented 8 years ago
It would be really great if we can get an update that worked with build 
3.3.458.  It's a huge pain to change all the assemblies in our multiple test 
projects and then have the team install a whole new msi.

Original comment by rhoff...@extended64.com on 30 Dec 2011 at 6:37

GoogleCodeExporter commented 8 years ago
@raymegal it's probably worth doing a full uninstall, deleting anything gallio 
related and re-installing. If that doesn't make any difference, could you 
please supply a test case that reproduces the problem?

@rhoffman they should be binary compatible. Have you tried it?

Original comment by grahamr...@gmail.com on 30 Dec 2011 at 7:36

GoogleCodeExporter commented 8 years ago
Same issue for us: Gallio 3.3.563, Resharper 6.1 RTM, TestDriven.Net 3.0. 
Projects reference Gallio.dll 3.2, MBUnit.dll 3.2. No tests show up in Unit 
Test Explorer. Running test with TestDriven.Net context menu in VS gives 
following error: 

Detected a probable test framework assembly version mismatch.
Referenced test frameworks: 'MbUnit, Version=3.2.0.0, Culture=neutral, 
PublicKeyToken=eb9cfa67ee6ab36e'.
Supported test frameworks: 'MbUnit, Version=3.3.0.0'.

We have been trying to just use R# 5 because of this issue. We might have to 
revert again unfortunately.

Original comment by dawn.stu...@gmail.com on 6 Jan 2012 at 5:56

GoogleCodeExporter commented 8 years ago
You can't mix and match versions. You need to reference 3.3, if that's what you 
have installed.

Original comment by grahamr...@gmail.com on 6 Jan 2012 at 6:11

GoogleCodeExporter commented 8 years ago
Would it be possible to have the plugin support both Gallio versions? I've had 
to downgrade because none of our 75K+ test inventory will run after getting R# 
6.1 and the latest plugin. Upgrading our Gallio version is not an option for a 
while so this will really hinder our ability to move forward.

Original comment by dflor...@gmail.com on 25 Jan 2012 at 10:47

GoogleCodeExporter commented 8 years ago
The only thing that's changed is the plugin, so the 6.1 plugin _should_ be 
compatible with 3.3.x. (Not 3.2 though).

I've not tried it, however. I'll give it a go when I have a chance.

Original comment by grahamr...@gmail.com on 26 Jan 2012 at 9:10

GoogleCodeExporter commented 8 years ago
What I meant was backwards-compatibility with Gallio 3.2. We, for example, were 
trying to upgrade to ReSharper 6.1. After upgrading, we installed Gallio 3.3 on 
our local machines. There are tests in our code-base, however, that reference 
Gallio and MbUnit 3.2 and the Gallio plugin for Resharper 6.1 lists them as 
"Platform Unsupported." Would it be possible to give the Gallio 3.3 plugin the 
ability to run both Gallio/MBUnit 3.3 tests AND run Gallio/MBUnit 3.2 tests?

Original comment by dflor...@gmail.com on 26 Jan 2012 at 9:17

GoogleCodeExporter commented 8 years ago
Not easily, no. Have a look at the Gallio Loader for the gory details.

You could try & bodge it, but I suspect that way lies pain and misery.

Let me have a think about it.

Original comment by grahamr...@gmail.com on 26 Jan 2012 at 9:59

GoogleCodeExporter commented 8 years ago
Will this be supported soon?

Original comment by aabra...@gmail.com on 27 Jan 2012 at 7:17

GoogleCodeExporter commented 8 years ago
The attached zip file contains a VS2010 solution and a Word document that 
describes how to recreate what I'm seeing.

Thanks!

Original comment by rayme...@gmail.com on 28 Jan 2012 at 2:15

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by grahamr...@gmail.com on 19 Jul 2012 at 10:22