Forum member

CoolBreeze

79 posts

Posts by CoolBreeze

  1. NCrunch Runs Wrong Test(s)

    I'm testing a web application using NCrunch and Selenium. The web app has several forms for collecting name, DOB (Date of Birth), address, including State, Zip, etc. Up to this point NCrunch has worked fantastic running the tests. This morning I noticed two problems: 1) NCrunch ran Stat…

  2. NCrunch Process \ Slow Computer

    My system is running very slowly. In order to locate the source of the slowness I started task manager. I saw 20+ NCrunch processes: 5 - BuildHost40.x86.exe 5 - EngineHost40.x64.exe 10 - TestHost40.exe I do have 7 copies of Visual Studio 2010 running. Most or all of these projects have NCr…

  3. NuGet package does not load correctly

    Hi Remco, Thanks for the reply. I tried both of your suggestions and they didn't fix the problem. I re-installed NuGet Package Manager using these instructions: https://github.com/paypal/sdk-core-dotnet/wiki/Using-Nuget-in-Visual-Studio-2010-&-2012 That fixed the problem. I probably didn…

  4. NuGet package does not load correctly

    Hi, I noticed NuGet extension wasn't loaded in VS2010. Initially I didn't pay much attention to it. But then today I restarted VS2010 and it popped up an error stating: The 'NuGet'.Tools.NuGetVSEventsPackage.NuGet.Tools, Version=2.8.50126.400, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' p…

  5. NCrunch for JavaScript?

    Short Answer: I use the JInt JavaScript Interpreter engine in Visual Studio. I had to design some libs to combine the JavaScript files needed for the test, create the JS test function call, get the Jint Engine completion values, dump out error messages, etc. Once I got those libs working takes…

  6. V3.2 and VS2010 Intaller Error

    Downloaded NCrunch_VS2010_3.2.0.3.msi Installer for Visual Studio 2010. Moved MSI to folder for software kits Closed VS 2010. Double-clicked on MSI file. Installer: Do you want to run this file? I clicked on Yes. Installer displayed: License Agreement. I clicked on I accept the terms in the l…

  7. Print to Debug Windows in TestCaseSource Factory

    I want to print debug lines in my NUnit TestCaseSource Factory functions. I've created several tests which insert new test records into my database. I created my own database transaction Rollback attribute and applied it to the test: <Test()> _ <TestCaseSource("TestFactory")> _ <My.Rollback(…

  8. NCrunch Runs About 8 of 183 Tests

    My test has 183 tests cases. Each test calls a function which calls SQL query with two parameters. The SQL query looks up records based on the two input parameters and returns 0 or more records. NCrunch runs usually about 8 of the 183 tests and then stops. The 8 tests are successful with green…

  9. Benefits of NCrunch vs Other Test Tools

    What are the benefits of NCrunch and Nunit over Visual Studio built-in test tools? Currently I'm the only developer using any test tools (NCrunch and Nunit) on our projects. We need to incorporate some test tools into our dev process. I'll be proposing to my dev team and the contract manager t…

  10. Test Status Changes

    Hi Remco, The test pass/fail status is not displaying as I expect. 1) For two tests the test status shows green ?. 2) I run test SaveToFile test 1 and status is set to green check mark. 3) I run test SaveToFile test 2 and status for test 1 is set to green ? and status for test 2 is set to gr…

  11. Quick second build losing code coverage?

    Hi Remco, I'm experiencing the same or similar problem. NCrunch shows black dots on lines that have been executed by a test. NCrunch shows 0% code coverage. Coverage should be higher than 0%. I saw this problem with 2.18.0.3 and 2.19.0.4 with the same project. I just installed 2.19.0.4.…

  12. Default Browser Switched to Firefox

    Hi Remco, Summary: NCrunch might be automatically setting the default browser to Firefox repeatedly. I'm working on a project that requires the customer to use IE8 and therefore I need to test with IE8. In Visual Studio 2010 Ultimate with NCrunch 2.18.03 installed: I right-clicked an AS…

  13. Install of 2.18.0.3 not showing up in VS 2012

    I followed your instructions. I see NCrunch menu in this special context. I shutdown this version of VS. I started the regular version of VS. I don't see NCrunch menu. Thanks for your help! Ed

  14. Install of 2.18.0.3 not showing up in VS 2012

    Shutdown VS Opened DOS Window as Admin Ran cmd you suggested Waited for devenv.exe to complete Opened VS 2012 No NCrunch in menu.

  15. Install of 2.18.0.3 not showing up in VS 2012

    I downloaded and installed 2.18.0.03 today on my laptop. I started VS1012 and I don't see the NCrunch menu item. I uninstalled NCrunch using Programs and Features, exited VS, reinstalled NCrunch 2.18.0.3, and then restarted VS 2012. However, I still don't see NCrunch in the menu. I do see NCru…

  16. No Code Coverage Data

    Hi Remco, I very much appreciate your support! This was the key question which lead me to solve my problem: - Does NCrunch give you any warnings in the Tests Window? NCrunch did report a warning about project references. I overlooked this because NCrunch displayed in the Tests windows …

  17. No Code Coverage Data

    Metrics window shows 0% and 0 covered lines for all my library classes. I've restarted Visual Studio. I've closed and reopened Tests window and Metrics window. I've run individual tests. When I look at the tested code I see black markers. Environment: Visual Studio 2010 NCrunch 2.15.0…

  18. NCrunch not detecting covered code when using TestCaseSource in NUnit

    Here's my idea for overriding ToString(): Pass a test description to the test class in the constructor, save it in a member variable, and in ToString() return the test description. This option has two benefits: 1) NCrunch shows the test description in the NCrunch Tests window. The develo…

  19. NCrunch not detecting covered code when using TestCaseSource in NUnit

    I just ran into the same problem. I noticed a class wasn't getting 100% code coverage by a test so I decided to update the test to bring the code coverage up to 100%. I wrote a test which used NUnit TestCaseSource. I created a test data class and a test factory method. The test factory method …

  20. No Green Checkmark when Test Successfully Ends

    Hi Remco, I saw the same behavior again. Hopefully here's more info: NCrunch doesn't update the information for a long-running test in the Tests window. The Tests windows shows the previous test information. I manually run a long running test. When the test completes I see: A green clock…