Resharper.TestCop icon indicating copy to clipboard operation
Resharper.TestCop copied to clipboard

Support for Rider

Open maxjoehnk opened this issue 6 years ago • 13 comments

Support for the Rider IDE would be neat. As far as I know exchanging the Resharper.Sdk with the Rider.Sdk should work for this.

For Reference: https://rider-support.jetbrains.com/hc/en-us/community/posts/203460504-ReSharper-extensions

maxjoehnk avatar Jul 11 '19 04:07 maxjoehnk

Hi Max, I doubt it would be as simple as that because Testcop uses some VisualStudio routines and also has a configuration dialog.

testcop avatar Jul 11 '19 19:07 testcop

It would be really nice to have TestCop for Rider!

jcsonder avatar Jun 30 '20 07:06 jcsonder

I would also welcome this proposal.

BenGeba avatar Sep 22 '20 14:09 BenGeba

pull requests accepted :)

testcop avatar Sep 22 '20 19:09 testcop

Today I spent an hour to see how far I can push this plugin towards Rider. It is definitely not easy because there are some Visual Studio / WPF components that have to be replaced.

mu88 avatar Apr 09 '21 12:04 mu88

@mu88 you are star for trying to get it working !

testcop avatar May 23 '21 20:05 testcop

Maybe a first good step would be to decouple the UI from Visual Studio 🤔 introducing some necessary interfaces would at least make it clear to a future hero what to implement within Rider.

mu88 avatar May 25 '21 05:05 mu88

Any progress on that? 😀

jcsonder avatar Feb 21 '22 15:02 jcsonder

Yes and no 😉 Instead of pushing TestCop forward, I started supporting @vladyslav-burylov and his project Test Linker 2. That one is compatible with both Rider and R# and does all I need. You can obtain it from the JetBrains store.

mu88 avatar Feb 21 '22 15:02 mu88

Any reason for testcop when Test Linker 2 does the same? BTW was it pretty straight forward to do the UI element (config settings) in Test Linker

testcop avatar Feb 21 '22 21:02 testcop

Honestly I didn't use TestCop for quite some time, therefore I don't know whether TestCop and Test Linker 2 have feature parity. But for me it offers all I need.

Regarding the UI, the plugin originally started at a different point: @matkoch first implemented his version which was already based on the original JetBrains plugin template supporting both Rider and R#. Then he archived his project and @vladyslav-burylov took over and maintained the plugin.
But as far as I can see, the plugin does not explicitly work with UI elements. It uses abstractions provided from the SDK. Here you can see the code for the options page.

mu88 avatar Feb 22 '22 06:02 mu88

Thanks for the hint, @mu88 . But Test Linker 2 doesn't like big solutions. 😢 I just see this grafik and have to wait ages until I have grafik Only with small solutions it works fine.

I have to find out if the Test Linker 2 guys already are working on that problem... or just hope that there will be a faster & better solution in TestCop soon. 😀

jcsonder avatar Feb 22 '22 08:02 jcsonder

@jcsonder Feel free to file an issue (preferably with an example of a big Solution)

mu88 avatar Feb 22 '22 09:02 mu88