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



Console/Command window flashing
#1 Posted : Saturday, November 25, 2017 8:21:12 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/2/2016(UTC)
Posts: 1
Location: Denmark


I'm experiencing opening and closing of console windows with almost every change to my code.
And yes, it is NCrunch, because when I disable NCrunch, the problem is gone.

Anyone experiencing this as well? And any solutions or suggestions to the problem?

#2 Posted : Saturday, November 25, 2017 8:40:50 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 708 times
Was thanked: 881 time(s) in 837 post(s)

There are two possibilities here:

1. You have a build task that is creating a console window when NCrunch builds your projects
2. You have test code that either directly or indirectly causes the creation of a console window

To tell between these two, try running NCrunch in the 'Run all tests manually' engine mode. If the console windows keep showing up after resetting NCrunch, this means that the problem is in the build system (which is probably harder to troubleshoot).

If you don't see the console windows while NCrunch is building in manual mode, this means it's happening during execution of your tests. It should be possible to identify which tests are causing the problem by selectively running them in groups, narrowing the problem down until you know which test(s) are responsible. You can then examine them in more detail (perhaps using the debugger) to understand why they are creating the console windows and whether you can change their behaviour.
Users browsing this topic
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.034 seconds.