Forum member
gregm
10 posts
Posts by gregm
-
.NET framework 4.6.1
I was actually having trouble downloading the files (so I never got to the part of using this version of NCrunch with 4.6.1). However, based on your response, I got suspicious and copied the link into Firefox (rather than clicking it right here in the post within Chrome) and that worked, so I no…
11 Mar 2016 22:23 UTC
-
.NET framework 4.6.1
I am having this issue as well. I cannot test NET 4.61. The link provided above for 2.20 does [b]not[/b] work, so I can't use that. Could that link be fixed? Or is 2.20 close to being released?
11 Mar 2016 19:52 UTC
-
Analysis fails on Attribute
Thanks for the explanation. That makes sense. I initially set NCrunch to StaticAnalysis, then I could test the attribute and figured out the issue, fixed the code, and am back to DynamicAnalysis.
22 Oct 2015 22:23 UTC
-
Analysis fails on Attribute
I figured out the issue. I was using GetExecutingAssembly, but the type wasn't in that assembly. I switched to using identityType.Assembly and it all works now.
21 Oct 2015 22:52 UTC
-
Analysis fails on Attribute
NCrunch is reporting an analysis failure with a NPE in the constructor of an attribute. Below is the stack trace. Because of this no tests are run. Do attributes need to be handled differently? There is no error in the attribute itself. The project builds and I have used the attribute success…
21 Oct 2015 18:31 UTC
-
Possible issue with F#
Thanks for answering so quickly Remco! I submitted a zipped solution to the contact form. It should be pretty self explanatory. Please note that based on the StackOverflow responses, I did try to run the code in FSI and I got the same results there...which leads me to think it might not be N…
13 Jul 2014 00:37 UTC
-
Possible issue with F#
I'm very new to F# and I'm doing a like project to try and learn some more. I thought it would be cool to use testing as part of it, to see how that works. I'm running into an issue where an item from the SUT is null, when it shouldn't be. I've already asked the question on StackOverflow, so I'll…
12 Jul 2014 21:34 UTC
-
Issues copying a file during test
I actually figured this out. Three things were needed: 1. I set the "Copy referenced assemblies to workspace" for the test project. 2. I used the typeof( ClassInTestProject ).Assembly to get the location of the running code (this is the destination folder of the copy). 3. Used the NCrunchEnvir…
04 Apr 2014 22:59 UTC
-
Issues copying a file during test
I attempted to use the "additional files to include", and to use a relative path, but I don't think I understand how this works. Here is a snippet of the code I'm using: [code=csharp] var relativePath = @"..\TestWorkflow.V1\bin\Debug\TestWorkflow.V1.dll"; File.Copy( relativePath, wor…
04 Apr 2014 16:47 UTC
-
Issues copying a file during test
I am attempting to test how a dynamically loaded library (I.e. loading an assembly using Assembly.LoadFrom method). As part of that, I need to copy the file, during the test, to some place that it works. For normal test runners (MS Test), I 'm using Assembly.GetExecutingAssembly().Location, to figur…
03 Apr 2014 23:02 UTC