lishijie211 / mb-unit

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

Support for ReSharper 6 #850

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install ReSharper 6.0
2. Install Gallio with plugin for ReSharper
3. Open Visual Studio - menu ReSharper -> Options -> Plugins

What is the expected output? What do you see instead?
Installed plugin for MbUnit

What version of the product are you using? On what operating system?
Visual Studio 2010
ReSharper 6.0
Gallio 3.2.3

Please provide any additional information below.
Please update Gallio to support MbUnit Unit Testing plugin.

Original issue reported on code.google.com by matej.skubic@gmail.com on 5 Jul 2011 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 8 Jul 2011 at 9:14

GoogleCodeExporter commented 9 years ago
Many of us are using this, hence please provide an update

Original comment by elang...@gmail.com on 19 Jul 2011 at 1:02

GoogleCodeExporter commented 9 years ago
I'd also like to hear the status of this. 

Original comment by knap...@gmail.com on 19 Jul 2011 at 1:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I wish Resharper and the JetBrains crew would just support MbUnit out of the 
box. Maybe we should also direct our wishes there as well.

Original comment by cdtha...@gmail.com on 19 Jul 2011 at 4:30

GoogleCodeExporter commented 9 years ago
I already contacted JetBrains and suggested that they coordinate more
closely with the Gallio / MbUnit team. Also suggested that they consider
designs that minimized breaking changes.

The response was not encouraging. Something along the lines that some of the
changes broke existing code and that they were communicating with other tool
developers.

I'm afraid that the delay in MbUnit compatibility is just something we have
to live with -- unless you have the time to help keep MbUnit up to date with
R#. I think they would welcome the help. (Frankly, I wish I could -- but
have too much going on now as it is.)

If you can't help, patience is probably the best recommendation.

Randy

Original comment by rdas...@gmail.com on 19 Jul 2011 at 5:27

GoogleCodeExporter commented 9 years ago
cant wait for this to be fixed. It is cruical for us. Please release it asap

Original comment by arkadi...@benedykt.net on 31 Aug 2011 at 10:23

GoogleCodeExporter commented 9 years ago
I'm thinking of just using Icarus until the integration is finished. Would
that work for you?

It's certainly less convenient, but might be the best short term solution.

Randy

Original comment by rdas...@gmail.com on 31 Aug 2011 at 8:53

GoogleCodeExporter commented 9 years ago
I guess it depends on personal taste, but for me it's inconvenient enough not 
to upgrade to Resharper 6 in the first place. 

Original comment by australi...@googlemail.com on 31 Aug 2011 at 9:32

GoogleCodeExporter commented 9 years ago
ReSharper 6 is needed if you work with MVC3 and Razor. Previous version of R# 
is missing some stuff for that (as it was released before MVC3 and Razor. Using 
Icarus is just a backup solution. Good for few days but its such a waste of 
time comparing to R# bundled in test runner. 

By your estimates Randy, how long will it take finish the integration? Maybe I 
could beta test it :) 

Original comment by arkadi...@benedykt.net on 1 Sep 2011 at 5:17

GoogleCodeExporter commented 9 years ago
I'm afraid I'm just a fellow user of gallio as well -- just trying to make a
helpful suggestion. So, I have no insight on how much longer it is going to
take them. :-(

While I would like being involved in the gallio project, I simply don't have
the time -- which is probably the problem the gallio developers are having
with the Resharper integration -- but I am sympathetic to them not having
the time get the R# 6 integration completed as soon as I would like.

Perhaps they should start charging for it. ;-)

I agree that using Icarus is less desirable -- I like the Resharper test
runner's integration with VS better. So, far, I have resisted upgrading
Resharper because the integrated unit testing has been more important to me
as well. I'm nearing the end of that however. Resharper 6 simply has too
many advantages.

Both tools are very useful -- so I'm inclined to try to be patient and use
the best combination of the tools in the interim. :-) Right now that,
appears to mean Icarus.

Randy

Original comment by rdas...@gmail.com on 1 Sep 2011 at 2:44

GoogleCodeExporter commented 9 years ago
I though you're one of the team. Your suggestion was helpful indeed. From time 
to time I'm forced to use Icarus on a machines without R#. It's not bad at all, 
100% usable and the best part is that it uses my NCover out of the box but 
still, I'm the person that prefer to stay in one application to do my job 
instead of jumping back n forward. For me it's just a waste of time. The 
integration is crucial here. 

As for charging for it? That may be an option, even sth like 10-20$ should keep 
the guys on the track and wouldn't exclude too much users. Well, maybe only 
those total free open source freaks :P but I wouldn't miss them :D

Oh, well, patience is the only thing we are left with at least for the moment. 
And because MbUnit is a good piece of code I don't want to go to NUnit camp.

Original comment by arkadi...@benedykt.net on 2 Sep 2011 at 11:27

GoogleCodeExporter commented 9 years ago
I didn't realize that Icarus could use NCover -- that will be an even bigger
bonus! :-)

I've long had problems with getting NCover to work. From some comments I've
seen, I assumed it was a combination Gallio / NCover / R# on x64 machines
issue.

Randy

Original comment by rdas...@gmail.com on 2 Sep 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Can anyone post an update on this issue? What is the current state of ReSharper 
6 support in Gallio?

Original comment by dmitrinesteruk on 27 Sep 2011 at 10:34

GoogleCodeExporter commented 9 years ago
@dmitrinesteruk, I imagine that until the issue is closed the lack of gallop 
support for resharper still persists.  Here's hoping that the next release adds 
it.

Original comment by Indigo0086 on 27 Sep 2011 at 10:58

GoogleCodeExporter commented 9 years ago
I just noticed and i haven't had time to try it, but on 9/17 they released 
Gallio 3.3 build 442 which looking in the commits looks like it contains the 
R#6 plugin. However I'm on vaca and won't be able to confirm. Maybe someone 
else can intall and confirm.

http://gallio.org/Downloads.aspx

Original comment by cdtha...@gmail.com on 28 Sep 2011 at 2:02

GoogleCodeExporter commented 9 years ago
i just took another look, looks like it may not be in the released version. 
looks like the plugin code was committed yesterday so might be not that far off 
before a release.

http://code.google.com/p/mb-unit/source/detail?r=3202

Original comment by cdtha...@gmail.com on 28 Sep 2011 at 2:11

GoogleCodeExporter commented 9 years ago
http://gallio.org/wiki/doku.php?id=release_notes
(See incoming v3.3.1 release)

Regards,
Yann.

Original comment by Yann.Tre...@gmail.com on 28 Sep 2011 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 29 Sep 2011 at 5:40

GoogleCodeExporter commented 9 years ago
sweeet :) thank you guys for fixing that. 

Original comment by arkadi...@benedykt.net on 29 Sep 2011 at 6:10

GoogleCodeExporter commented 9 years ago
There are a few known bugs (for example, test sessions aren't persisted 
properly yet), but it should run your tests.

Sadly the build server is down at the moment :( If you're feeling really brave, 
the binaries are attached (for 3.3). Just unzip to 
%APPDATA%\JetBrains\ReSharper\v6.0\vs10.0\Plugins.

Original comment by grahamr...@gmail.com on 29 Sep 2011 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
Just made a trial and it seems to work pretty fine!

Original comment by Yann.Tre...@gmail.com on 2 Oct 2011 at 12:59

GoogleCodeExporter commented 9 years ago
Please try build 3.3.454, or newer

Original comment by grahamr...@gmail.com on 10 Oct 2011 at 9:52

GoogleCodeExporter commented 9 years ago
Am I doing something wrong? It doesn't work for me :( 

I've downloaded 3.3.1 (tried x86 and x64) removed the previous version and 
installed new one. Updated the references and still my ReSharper don't want to 
do its job :/

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Does R# think the plugin is installed? (R# -> Options -> Env -> Plugins)

Original comment by grahamr...@gmail.com on 3 Nov 2011 at 12:26

GoogleCodeExporter commented 9 years ago
if I go R#-> Options-> Plugins I see Gallio Test Runner by Gallio version 
3.3.0.0
Whats interesting, opening the path to the plugin (prog. 
files\JetBrains\ReSharper\v6.0\Bin\Plugins\Gallio\ Gallio.ReSharperRunner60.dll 
is 3.3.454.0 )

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 12:38

GoogleCodeExporter commented 9 years ago
And what happens when you do ReSharper -> Unit Tests -> Run Unit Tests?

Original comment by Yann.Tre...@gmail.com on 3 Nov 2011 at 12:44

GoogleCodeExporter commented 9 years ago
No test found in file,

abd ReSharper->UnitTests-> Run All tests from solution gives no result as well 

Running the same solution with NCrunch executes the tests so it looks like the 
tests itself are ok

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 12:47

GoogleCodeExporter commented 9 years ago
After you did update your references, have you rebuilt your test project? Maybe 
the test project binary is still referencing v3.2.

Original comment by Yann.Tre...@gmail.com on 3 Nov 2011 at 12:51

GoogleCodeExporter commented 9 years ago
yes, I've rebuild all the projects. Now I've unloaded the projects, removes all 
bins and objs and reloaded projects again and the effect is the same :( 

I've also checked the references and they all seems to be good. They all point 
to a 3.3.454.0 file

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 12:56

GoogleCodeExporter commented 9 years ago
Yeah, we forgot to bump the assembly version for 3.3.1 :(

It's a real pain to debug, I'm not sure what else to suggest. Presumably 
there's no errors from R#? (Bottom right corner).

If you're feeling brave you could try attaching to VS...

Original comment by grahamr...@gmail.com on 3 Nov 2011 at 1:35

GoogleCodeExporter commented 9 years ago
R# reports no errors in the bottom right corner :( I'm out of ideas as well. It 
all seems ok except it doesn't work. Attaching to VS is not a problem but I 
have no clue what to look for... oh, well. I'll try to restart the box and 
reinstall all the stuff. 

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 1:44

GoogleCodeExporter commented 9 years ago
which you propose to install first? Gallio or the R# ?

Original comment by arkadi...@benedykt.net on 3 Nov 2011 at 1:45

GoogleCodeExporter commented 9 years ago
You need to install R# first, or the plugin won't install.

Original comment by grahamr...@gmail.com on 3 Nov 2011 at 1:55

GoogleCodeExporter commented 9 years ago
It'a alive !!!

I've removed R# and Gallio and found something like MbUnit that was installed. 
Removed all of them and reinstalled R# and Gallio. It didn't worked. So the 
next step was removing R# and Gallio again, then removing Gallio and R# folders 
in Program Files cos they were not removed by the installers. Then installed 
the R# and Gallio and now it works. 

It looks for me like the gallio plugin wasn't updated or sth and that's why it 
didn't worked in a first place. 

Now I can use Gallio with R# 6 :) 

thank you guys for your help and for fixing the integration :) 

Original comment by arkadi...@benedykt.net on 4 Nov 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Good to know it works :)

Original comment by grahamr...@gmail.com on 4 Nov 2011 at 9:41

GoogleCodeExporter commented 9 years ago
The new version of R# is avaliable (6.1 EAP) and when I installed it the Gallio 
instal the plugin into v6 dir (it creates it when the dir is not avaliable). 
I've manualy copied the files to appropriate v6.1 dir of the R# and resharper 
reports some errors. It looks like they changed sth in the matrix again :/

Original comment by arkadi...@benedykt.net on 7 Nov 2011 at 7:48

GoogleCodeExporter commented 9 years ago
Great :( It was on my todo list anyway. I'll have a look, thanks.

Original comment by grahamr...@gmail.com on 7 Nov 2011 at 9:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
at your service ;) (why I'm having a feeling that I'll be banned from here soon 
;)

Original comment by arkadi...@benedykt.net on 7 Nov 2011 at 1:15

GoogleCodeExporter commented 9 years ago
Try build 3.3.516, it's built against the latest EAP.

Original comment by grahamr...@gmail.com on 20 Nov 2011 at 7:09

GoogleCodeExporter commented 9 years ago
I've installed R# EAP from 21 Nov 2011. Then installed 
GallioBundle-3.3.516.0-Setup-x64.msi and it didn't worked until I uninstaled 
Gallio, removed the Gallio folder from Program 
Files\JetBrains\ReSharper\v6.1\bin\Plugins and installed Gallio again. Now it 
works like charm :) Can run tests from ReSharper and can debug tests :) 

Thank you guys for your work 

Original comment by arkadi...@benedykt.net on 21 Nov 2011 at 8:18

GoogleCodeExporter commented 9 years ago
could you please compile a new version of gallio with the latest EAP? R# from 
21 Nov has expired and the new ones does not want to work with Gallio.

Original comment by arkadi...@benedykt.net on 12 Dec 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Done. But the build box is in a bad mood again :(

Original comment by grahamr...@gmail.com on 17 Dec 2011 at 6:55

GoogleCodeExporter commented 9 years ago
Great :) 

I can confirm that it works with R# EAP from 16 Dec 2011

Original comment by arkadi...@benedykt.net on 19 Dec 2011 at 7:41

GoogleCodeExporter commented 9 years ago
I'm more than happy to report you that your last build works with ReSharper 6.1 
official build :D One happy puppy here :D

Original comment by arkadi...@benedykt.net on 21 Dec 2011 at 6:48

GoogleCodeExporter commented 9 years ago
#win. I'll update to the release binaries anyway, when I get a minute.

Original comment by grahamr...@gmail.com on 21 Dec 2011 at 9:26