Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Can i use NCrunch for CodeCoverage in VSTS?
Hi, thanks for posting! NCrunch does have a console tool that can be used inside a CI system to capture and report code coverage information. See here for more details - [url=http://www.ncrunch.net/documentation/tools_console-tool]http://www.ncrunch.net/documentation/tools_console-tool[/url]. …
14 May 2018 21:29 UTC
-
Build failure: System.ArgumentNullException
Hi Rasmus, Thanks for posting! Can you confirm whether you're running the latest version of NCrunch? We fixed a problem with exactly this description in v3.15.
14 May 2018 07:53 UTC
-
Reducing CodeAnalysis build time
Hi, Thanks for sharing this issue. The problem you're experiencing is due to limitations in the design of MSBuild and its targets. MSBuild cannot safely build a solution in parallel with another session. Because NCrunch does also use MSBuild when loading projects, naturally this clashes with…
13 May 2018 22:22 UTC
-
Debugging With NCrunch Doesn't let me see values of vars
It's possible that this is caused by a metadata issue with the PDBs. Previously, where we've seen these problems it's been related to compiler generated structures such as async/await and yield. If you're able to isolate this problem in code that you can share with me, I can take a closer look to …
11 May 2018 23:12 UTC
-
Error: An error occurred while analysing this project after it was built
I'm glad you were able to find a solution to this problem. The situation here still remains a mystery to me. I wonder if this could be some kind of cross-version issue between the Xunit components. Thanks for taking the time to share your solution.
11 May 2018 23:09 UTC
-
Debugging With NCrunch Doesn't let me see values of vars
Hi, thanks for sharing this issue. Do you notice this with ALL variables in all methods? Do any of your locals work correctly?
10 May 2018 23:27 UTC
-
Error: An error occurred while analysing this project after it was built
Hi, thanks for sharing this issue. For NCrunch to build your project, the xunit.execution DLL file needs to be adjacent to your output assembly file. This is typically handled by a build step within Xunit itself. If you build your project normally, do you see the xunit.execution DLL being pla…
10 May 2018 23:25 UTC
-
Endless Churn while logged out?
Right now all the critical state for your NCrunch session is stored on the client machine. The remote server is essentially a slave - it holds only the data it needs to be able to perform work and return results. The actual processing queue and all the coordination happens on the client side. So …
09 May 2018 23:22 UTC
-
Endless Churn while logged out?
Hi, thanks for posting. At the moment, I can't think of a way that this could be possible. Churn Mode exists as a UI-based feature (i.e. requires the NCrunch VS Plugin to work). It don't think it's really possible to leave VS running while you are logged out of the machine. Why do you need t…
09 May 2018 20:50 UTC
-
Failing on test discovery if using IXunitSerializable in xUnit tests
Thanks for the code sample. Using this I can observe the same behaviour as you've described - the test cases are being rolled up under the main test. It looks like in this case, the limitation is in Xunit itself. Because the test case is reliant on a user defined type for its parameter data, it…
09 May 2018 20:47 UTC
-
Failing on test discovery if using IXunitSerializable in xUnit tests
Sorry, but we cannot support this use case with NCrunch. You will need to change your design.
09 May 2018 08:29 UTC
-
ncrunch cant build Xamarin.Forms 3.0
Sorry Daniel - I misunderstood in thinking this was actually a Xamarin project. I do definitely recommend trying the compatibility mode to see if that resolves the problem. It's likely that there is a XAML build step that is malfunctioning because of NCrunch's workspacing. If you can find the r…
09 May 2018 08:06 UTC
-
Building Sql Server Database for each test
Hi, thanks for posting. This can be quite a complex area, depending on the number of tests involved and what you are trying to achieve. Building and tearing down a database for each individual test can be very expensive and will greatly increase the length of your test run. It will work, but …
08 May 2018 22:22 UTC
-
How does NCrunch run tests?
Hi, thanks for posting. NCrunch runs MSTest-based tests using an emulator that behaves very similar to VSTest, but with much higher performance. As under VSTest, the TestInitialize and TestCleanup methods are just considered to be extensions of the test method itself. They are run directly be…
08 May 2018 22:08 UTC
-
ncrunch cant build Xamarin.Forms 3.0
Hi Daniel, Thanks for sharing this problem. Unfortunately, [url=https://www.ncrunch.net/support/frameworks]Xamarin in all its forms is not officially supported by NCrunch[/url]. Xamarin uses a different build system to other .NET-based projects and no investment has been made to handle its ed…
08 May 2018 22:04 UTC
-
F# .net core projects doesn't build in after upgrade to VS 2017 15.7.0
Hi, thanks for sharing this problem. Does turning on the 'Copy referenced assemblies to workspace' setting for the projects involved resolve this issue? It may be necessary to turn off your paket restore step for [url=http://www.ncrunch.net/documentation/troubleshooting_ncrunch-specific-overri…
08 May 2018 02:07 UTC
-
Not Seeing Batch Category Tests in Test Windows
Hi Ed, Thanks for posting. The search options in the Tests Window are currently limited to just the test name. It's pretty basic search system and we're looking at giving it a major overhaul soon, because it just isn't powerful enough to handle scenarios like this. To find your tests, the …
04 May 2018 22:52 UTC
-
Run issue with async method
Hi, thanks for sharing this. The code above seems to work fine for me (can't reproduce the issue). Is it possible that there is a mismatch between the System.Threading.Tasks.Task type being returned and the one expected by the runner? This could be caused by an assembly referencing issue. Do…
03 May 2018 02:15 UTC
-
Azure Functions Project Fails Build Because of Output Assembly Location
Hi Colin, Unfortunately, it's never that simple. The path to the binary is normally identified by NCrunch by examining build properties provided by MSBuild. In this way, we can always find the output file as it's generated by the build system. Unfortunately, this project type does not foll…
02 May 2018 19:57 UTC
-
Azure Functions Project Fails Build Because of Output Assembly Location
Hi Colin, I'm sorry but as discussed above, this project type is not supported by NCrunch.
01 May 2018 21:27 UTC