Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

No tests discovered... (licensed)
mjgardne
#1 Posted : Tuesday, June 19, 2018 6:30:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/19/2018(UTC)
Posts: 2
Location: United States of America

Thanks: 1 times
Hello,

I am using a current version of VS2017 on a Win Pro 64-bit box. I have a project that has several tests, which are discovered by MSTest and run properly. However, when I installed the latest, licensed version of NCrunch, it is not discovering any tests, despite rebuilding the solution, uninstalling and reinstalling NCrunch, etc... Please help... TDD with MSTest is really tedious.

I have the latest version of NCrunch and TypeMock on my system.

Thanks,

Mike
Remco
#2 Posted : Tuesday, June 19, 2018 11:04:59 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,373

Thanks: 705 times
Was thanked: 878 time(s) in 835 post(s)
Hi, thanks for sharing this problem.

Do you experience this issue if you create a default MSTest project using one of the VS project templates? (i.e. a dummy test project with a single test).

Do you know which version of NCrunch you have upgraded from?
1 user thanked Remco for this useful post.
mjgardne on 6/20/2018(UTC)
mjgardne
#3 Posted : Wednesday, June 20, 2018 7:17:53 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/19/2018(UTC)
Posts: 2
Location: United States of America

Thanks: 1 times
Hi Remco,

Thank you for your quick response. I created a MSTest project, added xunit and typemock. It built and ran properly. Next, I enabled NCrunch, and it worked properly. So, the issue must be that the other project does not have the same test related file versions as this one. I will examine the references and report back to you, if things don't work. I miss my crunch! :P
Remco
#4 Posted : Wednesday, June 20, 2018 9:30:03 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,373

Thanks: 705 times
Was thanked: 878 time(s) in 835 post(s)
Thanks for confirming. I have a feeling this may be a configuration issue. Something you can try is deleting all the NCrunch related files in the solution (both the solution-level and project-level files) while the IDE is closed. This will effectively reset your configuration. If there's a problematic setting in place, such a reset will clear it.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.028 seconds.