testcop / Resharper.TestCop

A Jetbrains Resharper Plugin to help you to switch between code and test classes (+more)
BSD 3-Clause "New" or "Revised" License
32 stars 13 forks source link

Move File No Longer Works #84

Closed Mike-E-angelo closed 2 years ago

Mike-E-angelo commented 2 years ago

Hi all,

First off, thank you so much for putting this together for the latest ReSharper build. It is much appreciated.

Seeing that it was available, I checked it out and was met with warnings of files not corresponding to the correct namespace.

For instance, this file: https://github.com/DragonSpark/Framework/blob/0347d51de251baf0b954d57f06debaa5f1d8012b/DragonSpark.Application.Testing/Compose/Entities/Queries/ContextQueryAdapterTests.cs

Which I renamed to ContextsTests and was provided a prompt to move it:

Unfortunately, when doing so, nothing happen.

Also worth noting: there appears to be a typo in the command: file file

Thank you for any consideration towards addressing this. 🙏

testcop commented 2 years ago

thanks for raising. it is one of the areas I was never able to write a decent unit test for

rayphi commented 2 years ago

Created an Issue over here => https://youtrack.jetbrains.com/issue/RSRP-487230 because TestCop is not mentioned in the exception that was trown.

rayphi commented 2 years ago

As mentioned in RSRP-487230 the AssemblyCompanyAttribute solves this issue.

Mike-E-angelo commented 2 years ago

Thank you for all your efforts here! It is very cool to see, and the quick turnaround is especially appreciated. 🙏

testcop commented 2 years ago

RELEASED https://plugins.jetbrains.com/plugin/11635-testcop-for-resharper-2021-3/versions/stable/150909

testcop commented 2 years ago

@rayphi you are a star...