Forum member

ericschmidt

18 posts

Posts by ericschmidt

  1. Log chunk is too large

    Yes the issue no longer occurred after installing this version. Thanks.

  2. Log chunk is too large

    Hello, I had recently updated to v4.7.5 and upon doing so started having one of my test project's fail with the TargetInvocationException below after processing about 1/3 of the tests. It didn't seem to be a resource issue, or at least I didn't notice anything in Task Manager. Thanks An error …

  3. Unstable Test Generation

    You listed TestCaseSource, ValueSource or DataPointSource, but could using regular TestCase also lead to this? I am currently writing tests for a parser object and started getting this error as well but I'm only using the TestCase attribute and there's no dynamic generation for the data going in, bu…

  4. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    I'll try to get un-obfuscated assembly versions and see if replacing things point anywhere. I'm not entirely sure how that would be the problem just by adding in a new class if NCrunch was already setup to use the WatchText option.

  5. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Thanks for the suggestions. We were already using the WatchText Impact Detection Mode because there are some referenced assemblies that were obfuscated and causing NCrunch to fail when using the CompareIL. After changing the Build Process CPU Architecture, the message changed slightly for me, howev…

  6. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Hello, I have an application where I have a few layers of abstract base classes. I need to test some functionality that uses reflection within one of the base classes, so I need to create a dummy concrete type for my tests. However, once I define the class to implement the abstract class, NCrunch…

  7. TargetInvocationException

    I'm pretty sure I found my problem. It turns out there was some PropertyChanged logic that was executing in a specific context that was causing the exception. I thought it was something else because of the TargetInvocationException and didn't look closely enough and the InnerException's being thrown…

  8. TargetInvocationException

    I tried your suggestion of debugging using the existing task runner project, but even that resulted in a passing test. I have noticed that our project has a "Abnormal runtime assembly reference resolution detected" warning that shows up. Is it possible that this is causing the TargetInvocationExcept…

  9. TargetInvocationException

    Thank you, I'll try that and see if I can figure out what's causing it.

  10. TargetInvocationException

    I have several tests that seem to randomly fail because of a TargetInvocationException. If I re-run the tests, they pass. This has started to make things extremely difficult to understand if a failing test is actually failing or not. Any idea what might be causing this issue to occur?

  11. NCrunch Issue with NuGet Package with Generic

    I just sent an Email containing the projects. Let me know if you have any issues with them.

  12. NCrunch Issue with NuGet Package with Generic

    My apologies for the severely delayed response. I had updated NCrunch and thought that corrected the issue I was seeing, but it turns out that I just hadn't implemented the inheritance. After several attempts, I was able to reproduce the issue using a smaller sample. Following your directions, I sub…

  13. NCrunch Issue with NuGet Package with Generic

    I'm trying to create a small sample to reproduce. Do you just need a sample of the project that is unable to build or would you need a sample of a NuGet package that also causes this issue?

  14. NCrunch Issue with NuGet Package with Generic

    I am having a problem with a project not building in NCrunch. It seems to be similar to this post (http://forum.ncrunch.net/yaf_postsm4052_Issue-when-using-NCrunch-with-Code-Contracts-and-Fody.aspx#post4052), but it's an internally developed NuGet package, where I just implemented a generic class. W…

  15. DirectoryNotFoundException

    We are using NUnit v3.5.0.0. Yes, as far as I can tell, the NCrunch environment matches the environment of the project and test files themselves. The assembly is located in Project\bin\Debug\TestingAssembly.dll and the test files are located in Projects\ComponentTestFiles\TestFile.txt. Thus, to m…

  16. DirectoryNotFoundException

    It's not those. The folder (and file) relative path to the project are both the same, but the test is not running with the appropriate path. Say I have the following setup. TestProjects -TestProjectA -TestDataFiles -TestFile1.txt -TestFile2.txt When built, the DLL test…

  17. DirectoryNotFoundException

    In this instance, I am not trying to access files from a separate project. These are sample files contained within a subfolder of the TestProject itself (so I have DataStoreTests\TestFilesFolder). I've gone in and modified the configuration for this project to include the directory and all files, so…

  18. DirectoryNotFoundException

    I've recently started having an issue with NCrunch with tests that try to access files for testing. There are a couple of issues I'm running into. First, the sandbox directory that the UI is reporting doesn't match up with the actual directory in the %LocalAppData%\NCrunch. Secondly, I'm using…