ReSharper 9 Test SDK
Unfortunately I cannot find the Testing SDK for R# 9.0 For example I miss the BaseTestWithExistingSolution class, which was part of the JetBrains.Platform.ReSharper.TestFramework assembly in 8.2 in the
JetBrains.ReSharper.SDK.Testspackage.
The new JetBrains.ReSharper.SDK package does contain a dependency on
JetBrains.Platform.Tests.Framework, which
is unlisted at the moment ("The owner has unlisted this package"). Rly?
Please sign in to leave a comment.
Testing has changed with this release of the SDK, reflecting the changes made when re-architecting the product line to support a single, shared binary distribution. One change is that there is no longer a JetBrains.ReSharper.SDK.Tests package - tests are included as a part of the main SDK. The decision to make it unlisted on nuget.org is based on the fact that the package is an implementation detail of the SDK, rather than something that can be installed useful by itself. Being unlisted means it doesn't show up in search results, but can be installed as a dependency, e.g. when you install the SDK.
Unfortunately, the full changes to testing with the SDK aren't yet documented - quite a lot has changed here. It's my top priority for next week. You can follow the GitHub account to see commits and issues. I'll post to the resharper-plugins Google Group when pushing new docs (https://www.jetbrains.com/resharper/devguide).
Hi Mattt,
I don't know why, but in my first try the JetBrains.ReSharper.TestFramework assembly wasn't referenced :|. I tried it a second time and it worked.
Many thanks for your support and for the detailed info about the "test framework" package.
I've one more question about the warnings, coming from the SDK package in a .NET 4 target version project (see below). Can I fix these warnings? If not, are they safe to ignore / will they be fixed in a later version of the SDK?
KR, Ulrich
Hello,
Looks like a problem with DLL references. Will be an issue if you write PSI
extensions in your plugin.
Ignorable.
An issue due to mixed v3.5 / v4.0 support. Will have this warning for some
time until we drop support of v3.5.
Probably the target framework filter didn't work. But won't do any trouble.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
Hi Serge,
Many thanks for your answers!
I get this warning also in a newly created, empty project. So this comes from the R# 9 SDK package.
KR, Ulrich
I get this same error when trying out sample projects.
I am planning on writing a custom language so I actually will need cslex and psigen.
Is this a fixable issue?
it looks like it cant find the entire JetBrains.Psi.Features.Tasks.6.0.20141204.190183 package.
so it looks like there is a path problem with the nuspec for JetBrains.Psi.Features.Tasks.6.0.20141204.190183
all of it's utilities are located in DotFiles\PsiTasks\* but the Targets file is referencing them from DotFiles\*
I moved everything into the parent folder and the project can find all the assemblies again.
These warnings are all fixed in the 9.1 SDK, and can be ignored in 9.0 - you don't need to reference these files as part of a compilation. They're actually either loaded as tasks into msbuild, or called as standalone executables as part of a .targets file. They weren't supposed to be referenced like this.