Forum member

DanHil

85 posts

Posts by DanHil

  1. Visual Studio .NET doesn't exist

    Just a minor nitpick: Visual Studio hasn't been named "Visual Studio [i].NET[/i]" since the Visual Studio 2005 release. There only ever were two versions (2002 and 2003) that were suffixed with ".NET". Found: On the download page: http://www.ncrunch.net/download On the main page: http://www.…

  2. Unit test project with only xUnit.net theories in it is not picked up

    I have a unit test project that references both xUnit.net and xUnit.net Extensions. The latter defines the TheoryAttribute which can be used to create data driven tests. Now, my project doesn't contain a single [Fact] test, it only contains [Theory] tests. Additionally, it doesn't contain a sing…

  3. Second line of multi-line statement reported as uncovered

    Absolutly spot on! Fixing the bug (!) in my unit test by correctly mocking the translation service to actually return translations caused those lines to be marked as covered. Thanks!

  4. Second line of multi-line statement reported as uncovered

    I have several cases in my code base where a statement takes more than one line and NCrunch reports the second line as not being covered. [img]http://i.stack.imgur.com/9lkPM.png[/img]

  5. Strange FileNotFoundException

    Hi Remco, the first setting didn't change anything but setting "Copy referenced assemblies to workspace" to TRUE worked, thanks! However, I wonder, what the actual problem was. If you study the stack trace closely you notice that the exception originated from [u]within[/u] Ninject, meaning it …

  6. Strange FileNotFoundException

    Hi Remco, so, I got a new project where I can really do TDD and finally decided to buy NCrunch. It was just too much pain to perform TDD without it. But now I got a rather strange issue. I have the following setup: Project under test: WPF application .NET 3.5 References the Ninject NuG…

  7. Projects won't build

    [quote=Remco;3378]1.43 contains a modification that disables navigation to source files that exist within the NCrunch workspace. Are the links themselves pointing to files within workspaces, or to your foreground solution? If they're pointing at the workspace, this is intended behaviour .. if they…

  8. Projects won't build

    In the new version, the stack traces of failed tests no longer contain links on which I can click to navigate to the offending line.

  9. Projects won't build

    Hm, I guess I know why: xunit.dll and xunit.extensions.dll were missing in c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2010\Xunit\Latest\. Adding them brought my xunit tests back.

  10. Projects won't build

    The new version doesn't recognize my xunit tests anymore. Any ideas?

  11. Projects won't build

    Thanks for the build. However, I fear we have a little problem here. My trial will expire in two days and version 1.42 was too fragile for me, as you surely noticed. It actually cost me more time than it saved, so to be honest, I am not yet prepared to pay for a license. Furthermore, next week will…

  12. NCrunch is stuck

    I don't think I can reproduce this. It happened once, maybe twice, in 28 days of testing.

  13. Projects won't build

    It happened again: [quote][16:45:50.5788-BuildTask-168] ERROR (Internal): System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\daniel.hilgarth\AppData\Local\NCrunch\16368\84\GA.CoreData.UnitTests\SalesQuotas\SalesQuotasViewModelTest\ShownWeeks.cs'. at System.IO.__…

  14. NCrunch is stuck

    Sometimes I have the problem that NCrunch simply doesn't run the tests. It seems stuck somewhere. The indicator in the status bar of VS currently has a gray thirteen and the indicators of 5 tasks are circling around that number, but it isn't actually doing anything. I waitet 5 minutes already. …

  15. Projects won't build

    I just checked: The folder 330 is indeed missing. Maybe you can extract any information from the existing and missing workspace folders: [quote]04.12.2012 17:59 <DIR> 154 04.12.2012 18:01 <DIR> 158 04.12.2012 17:59 <DIR> 159 04.12.2012 18:04 <DIR> …

  16. Projects won't build

    [quote=Remco;3357]When you say that the directory was missing, do you mean the SalesQuotasViewModelTest directory, or the entire workspace?[/quote] Sorry, I can't answer that. I assume, the folder 330 was missing as this was the case with the missing xunit.dll but I can't say for sure as I haven't …

  17. Projects won't build

    This is a corporate machine, so, yes, a virus scanner is running. However, please take into account that not only the file is missing - the complete directory is missing. Furthermore, this problem was consistent. Even a rebuild didn't fix it. Only a reset. So some random interference of a virus …

  18. Projects won't build

    No, it hadn't been removed. A few minutes earlier, it had been [i]added[/i].

  19. Projects won't build

    I have the feeling somewhere in NCrunch there lingers a bug. [quote][17:28:08.7042-BuildTask-113] ERROR (Internal): System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\daniel.hilgarth\AppData\Local\NCrunch\1300\330\GA.CoreData.UnitTests\SalesQuotas\SalesQuotasViewModel…

  20. Execution error in integration test using Oracle

    I think I know now, what the reason is: 1. There are other unit tests in that test suite that do not use my attribute but also access the database. For those tests there is no code to set the environment variable. 2. ReSharper always executed the tests with my attribute first because of the name…