Giter VIP home page Giter VIP logo

resharper-testlinker's People

Contributors

glconti avatar matkoch avatar ulex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

resharper-testlinker's Issues

An exception occurs while trying to install TestLinker plugin in R# 2020.3 EAP7

InstallLog_2020-11-18T17-46-54.txt

15:11:59.320 |E| IAssemblyMasterBinder         | Error resolving type JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!

--- EXCEPTION #1/1 [LoggerException]
Message = “Error resolving type JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  Error resolving type JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!
  
  --- EXCEPTION #1/2 [TypeLoadException]
  Message = “Error resolving type JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
  ExceptionPath = Root.InnerException
  ClassName = System.TypeLoadException
  Data.OriginatorAssembly = “MetadataAssembly(JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325)”
  Data.RawMessage = “Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
  Data.TypeFqn = JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions
  Data.AssemblyTypeQualification = “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
  HResult = COR_E_TYPELOAD=80131522
  TypeLoadResourceID = 0
  
  --- Outer ---
  
  --- EXCEPTION #2/2 [LoggerException]
  Message = “Error resolving type JetBrains.ReSharper.Feature.Services.Diagrams.TypeDependenciesOptions from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”, request originating from assembly “JetBrains.ReSharper.Feature.Services, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”. Could not find the type by its FQN. Is assembly qualification specified? True! Is it of our own assembly? True! Is looking into referenced assemblies allowed? False! Was the qualified referenced assembly encountered during lookup? False! Tried loading an implicitly-referenced assembly? False! Were following a forwarder exported type's assembly ref? No!”
  ExceptionPath = Root
  ClassName = JetBrains.Util.LoggerException
  InnerException = “Exception #1 at Root.InnerException”
  HResult = COR_E_APPLICATION=80131600
  StackTraceString = “
    at JetBrains.Util.OnError.<>c__DisplayClass17_0.<LogForeignException>b__0(Exception ex)
       at JetBrains.Util.OnError.Handle(Exception ex)
       at JetBrains.Application.Bindings.AssemblyBinderExtensions.<>c__DisplayClass4_0.<CreateMetadataLoader>b__2(UnresolvedTypeArgs args)
       at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
       at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
       at JetBrains.DataFlow.Signal`1.Fire(TValue value)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromQualifiedName(String name, AssemblyNameInfo assemblyName, Boolean searchReferencedAssemblies)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromQualifiedName(String assemblyQualifiedName, Boolean searchReferencedAssemblies)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeInfoFromToken(MetadataToken token)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeFromToken(MetadataToken token, TypeDecodeContext context)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.GetTypeFromToken(MetadataToken token)
       at JetBrains.Metadata.Reader.Impl.MetadataTypeBuilder.BuildClassType(MetadataToken typeDefOrRefOrSpecToken)
       at JetBrains.Metadata.Reader.Impl.TypeBlobDecoder.DecodeTypeDefOrRef[TType,TMethodSig](IBinaryReader reader, ITypeBuilder`2 typeBuilder)
       at JetBrains.Metadata.Reader.Impl.TypeBlobDecoder.DecodeType[TType,TMethodSig](IBinaryReader reader, ITypeBuilder`2 typeBuilder)
       at JetBrains.Metadata.Reader.Impl.MetadataAssembly.DecodeType(IBinaryReader reader, TypeDecodeContext context)
       at JetBrains.Metadata.Reader.Impl.MetadataProperty.ReadSignature(IBlob signatureBlob)
       at JetBrains.Metadata.Reader.Impl.MetadataProperty..ctor(MetadataToken token, IMetadataAssembly assembly)
       at JetBrains.Metadata.EditAndContinue.EncMetadataAccessEx.GetProperties(IMetadataAssembly metadataAssembly, MetadataToken typeToken)
       at JetBrains.Metadata.Reader.Impl.MetadataTypeInfo.GetProperties()
       at JetBrains.Application.Table.Emit.EmitCatalogTables.Types.IsPart(IMetadataTypeInfo typedecl)
       at JetBrains.Application.Table.Emit.EmitCatalogTables.Assemblies.PreCreateAssemblyForCataloging(AssemblyNameInfo assnameAsRequested, EmitTimeTables tables, IAssemblyMasterBinder masterbinder, MetadataLoader metaloader)
       at JetBrains.Application.Table.Emit.EmitCatalogTables.<>c__DisplayClass1_0.<CreateCatalogTablesWithMetadataReader>b__0(Lifetime lifetime)
       at JetBrains.Lifetimes.Lifetime.Using(Action`1 action)
       at JetBrains.Application.Table.Emit.EmitCatalogTables.CreateCatalogTablesWithMetadataReader(IEnumerable`1 assemblies, IAssemblyMasterBinder masterbinder, ICollection`1 traitcalc, Stream output)
       at JetBrains.Application.BuildScript.Application.Catalogs.PartCatalogs.CreateWithMetadataReaderRaw(Lifetime lifetime, IEnumerable`1 assemblies, IAssemblyMasterBinder masterbinder)
       at JetBrains.Application.Install.ProductPartCatalogFromPackages.GetProductPartsCatalogFromProductAssemblies(Lifetime lifetime, InputPackage[] ipkgs, IBuildTimeRealizedAssemblyItemUnification realizedAssemblyItemUnification, AllAssembliesOnEverything allass, IBuildTaskHost tasker, ILogger logger)
       at JetBrains.Application.Install.ProductPartCatalogFromPackages..ctor(Lifetime l, InputPackage[] b, IBuildTimeRealizedAssemblyItemUnification d, AllAssembliesOnEverything f, IBuildTaskHost g, ILogger e)
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at JetBrains.Build.Running.Storage.BuildHelper.JetBrains.Build.Running.Storage.IBuildHelper.CreateInstance(IList`1 inputsChosen, Object[] inputvalues)
       at JetBrains.Build.Running.Storage.BuildStorageInstances.<>c__DisplayClass6_0.<CreateEntityInstance_Helper>b__0(LifetimeDefinition definition)
       at JetBrains.Lifetimes.Lifetime.Define(Lifetime lifetime, String id, Action`1 atomicAction)
       at JetBrains.Build.Running.Storage.BuildStorageInstances.CreateEntityInstance_Helper(BuildStorageCore storage, IBuildHelper helper, OnError onerror)
       at JetBrains.Build.Running.Storage.BuildStorageInstances.CreateEntityInstance(BuildStorageCore storage, IBuildEntity entity, OnError onerror)
       at JetBrains.Build.Running.Logic.BuildExecutor.<ExecuteSingleItemAsync>d__16.MoveNext()
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
       at JetBrains.Build.Running.Logic.BuildExecutor.ExecuteSingleItemAsync(Lifetime lifetime, PlannedItem item, BuildStorage storage, ITaskHost tasker, ILogger Logger)
       at JetBrains.Build.Running.Logic.BuildExecutor.<>c__DisplayClass14_1.<<RunAsync>b__7>d.MoveNext()
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
       at JetBrains.Build.Running.Logic.BuildExecutor.<>c__DisplayClass14_1.<RunAsync>b__7(Lifetime lifetimeStep)
       at JetBrains.Lifetimes.Lifetime.<UsingNestedAsync>d__49.MoveNext()
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
       at JetBrains.Lifetimes.Lifetime.UsingNestedAsync(Func`2 action)
       at JetBrains.Build.Running.Logic.BuildExecutor.<>c__DisplayClass14_1.<<RunAsync>b__4>d.MoveNext()
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(Object stateMachine)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
       at JetBrains.Util.Concurrency.Threading.Tasks.SchedulerAwaiter.<>c__DisplayClass10_0.<OnCompleted>b__0(Object o)
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
       at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
       at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
       at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
       at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
       at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
       at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
       at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #7.JetPool(S) #10(Action )
       at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
       at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
       at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<>c__DisplayClass6_0.<.ctor>b__0()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  ”
”

Support navigation when having nested test fixtures

Assume you have a class Foo and a corresponding test fixture. In the test fixture you have nested fixtures for different test scenarios. For example:

internal sealed class FooTest
{
	[TestFixture]
	internal sealed class FooInScenario1
	{
		...
	}

	[TestFixture]
	internal sealed class FooInScenario2
	{
		...
	}
}

Navigation does not work when trying to navigate from nested test fixture back to class under test. Instead a question appears whether a new production class should be generated...

Using test linker 1.4.2 and R# 2017.1.3

Support R#/Rider 2020.1

JetBrains released R# and Rider. Please update references and publish new release for you cool plugin

Support for Multiple Projects

To start with, great project here. I have been using it alongside with ReSharperHelpers and have a really solid testing experience now in R# and Visual Studio.

Of course, having two testing extensions means that one can lose context of exactly which extension is performing which feature. And that one is ME as I have already posted this request in ReSharperHelpers' repo thinking that the behavior I was seeing was from over there, DOH!

It turns out that it could also benefit from this, as well, so maybe not all is lost. 😆 Here is the post from there pasted here for your reference/convenience.


Consider the following assemblies:

Namespace
Namespace.Other
Namespace.Testing

I would like to have Namespace.Testing handle the tests for both assemblies. When a test from Namespace.Other is generated, ideally it would go into Namespace.Testing.Other. I tried playing around with this and didn't have much luck, Nothing obvious was found in the settings.

So to clarify, everything everything does work really well without any setup. The only issue that I have experienced is the initial location of the created file in this case.

Thank you for any consideration towards this!

Typing in VS 2019 after installing R# 2020.1 is too slow

81.6%   LinkedTypeUnitTestsDataRule  •  5,094 ms  •  ReSharperPlugin.TestLinker.UnitTesting.LinkedTypeUnitTestsDataRuleRegistrar.LinkedTypeUnitTestsDataRule(IDataContext)
    81.6%   GetLinkedTypes  •  5,093 ms  •  ReSharperPlugin.TestLinker.Utils.LinkedTypesUtil.GetLinkedTypes(IDataContext)
      81.6%   ToList  •  5,091 ms  •  System.Linq.Enumerable.ToList(IEnumerable)
        81.6%   GetLinkedTypes  •  5,091 ms  •  ReSharperPlugin.TestLinker.Utils.LinkedTypesUtil.GetLinkedTypes(ITypeElement)
          81.6%   ToList  •  5,091 ms  •  System.Linq.Enumerable.ToList(IEnumerable)
            81.6%   GetLinkedTypesInternal  •  5,091 ms  •  ReSharperPlugin.TestLinker.Utils.LinkedTypesUtil.GetLinkedTypesInternal(ITypeElement)
              81.5%   InsertRange  •  5,087 ms  •  System.Collections.Generic.List`1.InsertRange(Int32, IEnumerable)
                80.4%   <GetLinkedTypesInternal>b__2  •  5,020 ms  •  ReSharperPlugin.TestLinker.Utils.LinkedTypesUtil+<>c__DisplayClass2_0.<GetLinkedTypesInternal>b__2(ClassLikeTypeElement)
                  80.4%   GetAttributeLinkedTypes  •  5,020 ms  •  ReSharperPlugin.TestLinker.Utils.LinkedTypesUtil.GetAttributeLinkedTypes(IAttributesSet, String)
                    59.3%   GetAttributeInstances  •  3,699 ms  •  JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.TypeElement.GetAttributeInstances(AttributesSource)
                      43.1%   GetDeclaration  •  2,693 ms  •  JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.TypePartImplBase`1.GetDeclaration()
                        43.1%   GetDeclaration  •  2,693 ms  •  JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2.DeclarationPart.GetDeclaration()
                          43.1%   GetPsiFiles  •  2,692 ms  •  JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile, PsiLanguageType, PsiLanguageCategories)
                            43.1%   GetPsiFiles  •  2,692 ms  •  JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile, Type, DocumentRange, PsiLanguageCategories)
                              43.1%   AppendDominantFiles  •  2,692 ms  •  JetBrains.ReSharper.Psi.Files.PsiFiles.AppendDominantFiles(IPsiSourceFile, DocumentRange, Type, PsiLanguageCategories, ref LocalList)
                                43.1%   GetOrCreateCachedPsiFile  •  2,692 ms  •  JetBrains.ReSharper.Psi.Files.PsiFilesCache2.GetOrCreateCachedPsiFile(IPsiFiles, IPsiSourceFile, PsiLanguageType)
                                  43.1%   GetOrCreateBucket  •  2,692 ms  •  JetBrains.ReSharper.Psi.Files.PsiFilesCache2.GetOrCreateBucket(IPsiFiles, IPsiSourceFile)
                                    43.1%   GetOrCreate  •  2,692 ms  •  JetBrains.Util.Caches.WeakParametrizedCachedValue`3.GetOrCreate(TParameter, out T, Action)
                                      43.1%   ProduceBucket  •  2,691 ms  •  JetBrains.ReSharper.Psi.Files.PsiFilesCache2.ProduceBucket(KeyValuePair)
                                      ► 39.6%   Build  •  2,474 ms  •  JetBrains.ReSharper.Psi.Files.PsiFilesCommit.Build(ICollection, Boolean, IPsiFilesCache)

\msdc\Snapshots\Zendesk-2627955

Cannot use with ReSharper 2019.2.2

I'm using ReSharper 2019.2.2 in Visual Studio 2019 (16.3). After installing this extension, neither does Go to related files provide a link to the test code nor is there an entry called Test Linker within the ReSharper Options.

Dialog to Create Class, But No Class

Using this commit:

https://github.com/DragonSpark/Framework/tree/fbcea5605a9f884276d73dc037924e97c4dea683

And in this directory:

https://github.com/DragonSpark/Framework/tree/fbcea5605a9f884276d73dc037924e97c4dea683/DragonSpark

I create a simple class called Class1. I get the dialog:

So far, so good.

However, when accepting and clicking Yes, the test file does not seem to create in the specified namespace/folder, or at all.

I know that in #16 it was mentioned options were merged, but I am not seeing anything obvious... is there another setting somewhere I should be considering, perhaps?

Rename refactoring no longer works after installing TestLinker 1.3.1 in R# 2016.3.2

This seems to be caused by a number of FileLoadExceptions thrown by TestLinker when it tries to load NuGet.Core version 2.13.0.824, but the version found is 2.14.0.832.

From ReSharper's exception dialog:

The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

--- EXCEPTION #1/2 [FileLoadException]
Message = “The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”
ExceptionPath = Root.InnerException
ClassName = System.IO.FileLoadException
HResult = FUSION_E_REF_DEF_MISMATCH=80131040
Source = TestLinker
StackTraceString = “
  at TestLinker.Caching.LinkedNamesCache.RemoveData(IPsiSourceFile sourceFile)
     at TestLinker.Caching.LinkedNamesCache.Merge(IPsiSourceFile sourceFile, Object builtPart)
     at JetBrains.ReSharper.Psi.Caches.SimpleICache`1.ProcessDirty()
     at JetBrains.ReSharper.Psi.Caches.SimpleICache`1.SyncUpdate(Boolean underTransaction)
     at JetBrains.ReSharper.Psi.Caches.PsiCaches.Update()
     at JetBrains.ReSharper.Psi.Caches.PsiCaches.<.ctor>b__0(IPsiTransaction transaction)
     at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.NotifyCommit(IPsiTransaction transaction)
”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2016.3.2  Build 107.0.20170126.120331”
Data.SubProducts.#0 = “JetBrains dotCover 2016.3.2 Build 2016.3.20170126.121718”
Data.SubProducts.#1 = “JetBrains dotTrace 2016.3.2 Build 2016.3.20170126.121657”
Data.SubProducts.#2 = “JetBrains ReSharper 2016.3.2 Build 2016.3.20170126.121504”
Data.SubProducts.#3 = “JetBrains dotMemory 2016.3.2 Build 2016.3.20170126.121625”
Data.SccRevisionEnv = “
  Platform\Core\Shell:
   git::refs/heads/wave07::2ac846a8af8df11aedd892dc2861143c2fd82dfc
  
  
  Platform\VisualStudio:
   git::refs/heads/wave07-2016-3-2-rtm::e9dedfa10637ebb870c2c1f53caaf745adc7a5e3
”
Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.NotifyCommit(IPsiTransaction transaction)
     at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.CommitTransaction()
     at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.Commit()
     at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName)
     at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass13.<InitPage>b__d(IProgressIndicator pi)
     at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
     at JetBrains.ReSharper.Feature.Services.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.<NextClick>b__8()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
     at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
     at JetBrains.ReSharper.Feature.Services.Refactorings.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
     at System.Windows.Forms.Control.OnClick(EventArgs e)
     at System.Windows.Forms.Button.OnClick(EventArgs e)
     at System.Windows.Forms.Button.PerformClick()
     at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
     at JetBrains.ReSharper.Feature.Services.UI.CompletionPicker.CompletionPickerEdit.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
     at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
     at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
     at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
     at System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)

An excerpt from the Fusion log:

=== Pre-bind state information ===
LOG: DisplayName = NuGet.Core, Version=2.13.0.824, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : TestLinker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
[...]
LOG: Attempting download of new URL file:///C:/Users/[...]/AppData/Local/JetBrains/Installations/ReSharperPlatformVs14/NuGet.Core.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\Users\[...]\AppData\Local\JetBrains\Installations\ReSharperPlatformVs14\NuGet.Core.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: NuGet.Core, Version=2.14.0.832, Culture=neutral, PublicKeyToken=5aaa11a165479571
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
LOG: Attempting download of new URL file:///C:/Users/[...]/AppData/Local/JetBrains/Installations/ReSharperPlatformVs14/NuGet.Core/NuGet.Core.DLL.
LOG: Attempting download of new URL file:///C:/Users/[...]/AppData/Local/JetBrains/Installations/ReSharperPlatformVs14/NuGet.Core.EXE.
LOG: Attempting download of new URL file:///C:/Users/[...]/AppData/Local/JetBrains/Installations/ReSharperPlatformVs14/NuGet.Core/NuGet.Core.EXE.
LOG: All probing URLs attempted and failed.

Problem with 2019.1.1 in Visual Studio 2019

I have installed this as an extension in R# 2019.1.1 in Visual Studio 2019, and have mapped the key to go to linked items. However, when I attempt to execute it, it doesn't work at all, unfortunately.

Is this a known issue, perhaps? I am posting here so that it will naturally start to work like magic only after I have posted a question online about it. 😆

2018.1 Installation Error

Bummer... looks like I get an error installing this extension. :(

--- EXCEPTION #1/5 [BadImageFormatException]
Message = “Could not load file or assembly 'file:///C:\Users..\AppData\Local\JetBrains~\AppDomainBase\Cexowig\TestLinker.1337.0.0.0.E7BF1C7E\TestLinker.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.”

Reported here as well:
https://youtrack.jetbrains.com/issue/RSRP-468428

Partial namespace support

If I have the following project structure:

ProjectA

  • Namespace1.Sub1
    • ClassA
    • ClassB
  • Namespace2.Sub2
    • ClassA
    • ClassB

ProjectAUnitTest

  • Namespace1UnitTest.Sub1
    • ClassATest
    • ClassBTest
  • Namespace2UnitTest.Sub2
    • ClassATest
    • ClassBTest

Currently test linker reports all test classes with the same name and it's impossible to recognize the correct one.
image

My proposal is to take parts of namespaces in lookup sequence if multiple occurrences are found.
E.g. for Namespace1.Sub1.ClassA lookup for tests with Sub1.ClassA which will find Namespace1UnitTest.Sub1.ClassATest instead of all ClassATest classes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.