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

Notification

Icon
Error

Binaries Not Built while trying to execute test case
aneesahmed
#1 Posted : Tuesday, June 14, 2016 11:06:28 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2016(UTC)
Posts: 5
Location: India

Hi,
I have a visual studio solution with over 50+ projects. When i try to run tests using NCRUNCH, about 50% of the projects are shown as "Not Built" under that status column. The test cases in the rest 50% of project gets executed. Can someone please help me on this and let me know what configuration am I missing.

Thanks,
Anees
Remco
#2 Posted : Tuesday, June 14, 2016 11:50:42 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Anees,

Thanks for sharing this issue.

Are there any warnings or build errors being shown by the engine? Would you be able to submit a bug report? The log file may be able to tell me if this is the result of an internal problem.
aneesahmed
#3 Posted : Tuesday, June 14, 2016 4:03:51 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2016(UTC)
Posts: 5
Location: India

Hi,
The tool does not throw any warning or errors. Even if I click on "Reload and rebuilt selected component" there seem to be no action being taken. The project status is shown as "Not Built". I have tried couple of other solutions that have less than 10 projects and that seem to be work fine. Is there a limitation in the tool on the number of projects within a given solution.

Thanks,
Anees
Remco
#4 Posted : Tuesday, June 14, 2016 11:15:59 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Anees,

There is no built in limit on the maximum number of projects NCrunch can handle. It is regularly used with much more projects than 50. These are the possible things I can think of that may cause this to happen:

1. At least one of the projects has a 'Required capabilities' NCrunch project-level configuration option set which is preventing it from building
2. There is a strange dependency issue involving a project that NCrunch isn't able to build, and somehow the error isn't being reported
3. There is an internal problem

Would you be able to submit a bug report after you've had this happen to you? The log from the report will be able to help me narrow down the issue.
aneesahmed
#5 Posted : Thursday, June 16, 2016 3:48:03 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2016(UTC)
Posts: 5
Location: India

Hi,
I don't see any log on the console. Can you please let me know the path from where i can get the logs from.

Thanks,
Anees
Remco
#6 Posted : Thursday, June 16, 2016 7:15:47 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Anees,

Just click the 'Submit bug report' option under the NCrunch VS menu.
aneesahmed
#7 Posted : Monday, June 27, 2016 4:47:27 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2016(UTC)
Posts: 5
Location: India

Hi,
How do i track the bug after submitting the bug by clicking on "Submit Bug Report->Submit Report".

Thanks,
Anees
Remco
#8 Posted : Monday, June 27, 2016 5:40:09 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Anees,

Thanks for submitting the report. Note that there isn't any mechanism through which it is currently possible to track these reports from your side, but they do all get investigated so they are worth reporting.

The report showed some strange behaviour in your test environment, but nothing out of the ordinary around your build system.

I think it may be worth doing a full reset of your NCrunch cache data. If this doesn't work, I would suggest also resetting your configuration.

To reset the NCrunch cache data, close the solution (or VS), then look for a directory under your solution directory called _NCrunch_SOLUTIONNAME. Delete or rename this directory, then try re-opening the solution and enabling NCrunch.

To reset NCrunch's configuration, browse to your solution directory and perform a search for all .ncrunchproject files underneath all directories. Deleting these files along with the .ncrunchsolution file adjacent to your solution will clear all NCrunch configuration for the solution and will set you back to defaults. Make sure the solution is closed when you do this.
aneesahmed
#9 Posted : Monday, July 4, 2016 3:49:13 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2016(UTC)
Posts: 5
Location: India

Hi,
I followed as you suggested but still the same issue persists.

Thanks,
Anees
Remco
#10 Posted : Monday, July 4, 2016 4:56:47 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Thanks Anees.

The next thing, if you haven't tried this yet, is to set up compatibility mode in your configuration and see if this solves the problem.

Beyond this, troubleshooting becomes deductive. We need to find out what is different about the projects that are not being built. Most likely they have a dependency on a specific project that is experiencing a problem. It should be possible to identify this project by tracing up your build dependency tree until you find the lowest level project that isn't being built by the engine. Examine this project in detail - what does it depend on? Is there anything unusual about it? Does it make use of any build tools or configuration outside of the norm?
Users browsing this topic
Guest
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.052 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download