Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Project load failure
[quote=LucasT;7432]OK, I finally fixed the problem. The project imports a lot of third-party target files (specifically: the JetBrains SDK). Some of these files were encoded in UTF-16... [i]without a BOM[/i]. MSBuild loads them just fine, but XDocument seems unable to cope with them. This explai…
25 Jun 2015 22:07 UTC
-
Project load failure
Hi, Thanks for sharing this issue. This problem is originating from the code responsible for loading the project XML into memory. This means that the source of the XML exception is actually the project file itself. Something particularly strange about this is how Visual Studio is able to l…
25 Jun 2015 12:17 UTC
-
Windows 10 Build 10130 - VS2015 RC
[quote=glesueur;7426] Thanks for your time, I have even closed both instances and tried again and its all ok. If it occurs again I'll get the debugger back on the case and pay attention to event logs. Cheers Gary[/quote] Thanks Gary. I'm glad that the instance is working for you again, …
20 Jun 2015 11:16 UTC
-
Issues with MSTest AssemblyInitialize
[quote=thedo;7424]Thanks for the reply! In our case the tests are run serially and constrained to 1 thread, so the optimizations don't seem hugely valid. Is there a way to disable these optimizations via the options (I can see some optimizations can be disabled). [/quote] The behaviour of NCr…
18 Jun 2015 22:21 UTC
-
Issues with MSTest AssemblyInitialize
Hi Neil, Thanks for posting! NCrunch can potentially call AssemblyInitialize multiple times per process, because it can invoke the test framework multiple times (once for each test batch) - see 'Test Runner Re-use' - [url=http://www.ncrunch.net/documentation/considerations-and-constraints_test…
18 Jun 2015 09:46 UTC
-
How do I transfer a license?
Hi Brad - It should just be possible to enter the existing key into the new developer's machine and it will just work. The system is fairly relaxed so you shouldn't need to be concerned about interference from the old user, but if you have a way to contact them, please do request that they remov…
12 Jun 2015 21:37 UTC
-
Allow to run the tests on the grid node while the foreground solution is still compiling
[quote=Ralf Koban;7415] - Start a re-build in VS via "Build" -> "Rebuild solution" [/quote] Gotcha - Sorry, I thought you were referring to an NCrunch build, rather than a VS one. Looking at the code involved, there doesn't seem to be anything that would stop a grid node from picking up work…
10 Jun 2015 07:39 UTC
-
Building MonoGame project
Taking another look at the error you've received from your build, there is a possibility that this error is being thrown because NCrunch hasn't identified the .mgcb files and copied them to the workspace. If you include all .mgcb files using the 'Additional files to include' project-level configura…
10 Jun 2015 06:25 UTC
-
Building MonoGame project
Hi, I'm sorry but monogame projects are not currently supported by NCrunch. If you'd like to see support added for this project type, you're [url=https://ncrunch.uservoice.com]welcome to vote for it as a feature request[/url].
09 Jun 2015 23:32 UTC
-
Explicit tests are getting run
Hi, thanks for posting. Explicit tests have a special status with NCrunch. Unlike other tests, the following rules will apply to them: 1. Explicit tests will never be run automatically due to changes made to a solution 2. Explicit tests will never be run when the 'Run all tests' option is se…
09 Jun 2015 23:31 UTC
-
Allow to run the tests on the grid node while the foreground solution is still compiling
Hi Ralf, Thanks for coming back to the forum on this one. I'd just like to clarify my understanding of what you're describing to make sure I understand this completely. When a test exists in the processing queue, it can optionally be assigned to a server for execution. The effect of this is …
09 Jun 2015 19:54 UTC
-
Windows 10 Build 10130 - VS2015 RC
Hi Gary, Thanks for sharing this issue. Would you be able to answer the following questions? This will help me narrow the problem down. - Do you receive the crash on a specific solution, or on all solutions? If you try to create a simple solution with a single test in it, does it crash? - …
08 Jun 2015 22:22 UTC
-
Chained Method Calls Across Multiple Lines - Not Covered
Hi Mike, Are there any error messages in the collection to enumerate? If the collection is empty, the enumerator will simply return and won't execute the code. NCrunch is very physical in its method of capturing line-by-line execution data. It has no knowledge of enumerables, lambda expres…
08 Jun 2015 12:21 UTC
-
Chained Method Calls Across Multiple Lines - Not Covered
Hi Mike, Thanks for sharing this. The uncovered lines in this case are identified as code by NCrunch, but because they are implemented using IEnumerable, they won't be executed unless you actually enumerate the errorMessages. Try adding a .ToList() or .ToArray() to see if this makes any dif…
08 Jun 2015 11:37 UTC
-
No Code Coverage Data
Hi Ed, Sorry, I'll need to bombard you with some questions to figure out what is happening here :) - Does NCrunch detect the tests themselves and run them with the correct results showing in the Tests Window? - Are you doing any cross-process testing? (i.e. test deliberately launches a new pr…
02 Jun 2015 22:17 UTC
-
*.ncrunchproject and *.ncrunchsolution encoding change?
It looks like there may be some options in Git that can be used to improve its handling of merging UTF-16 files. It might be worth a look - [url=https://stackoverflow.com/questions/777949/can-i-make-git-recognize-a-utf-16-file-as-text]https://stackoverflow.com/questions/777949/can-i-make-git-recogn…
02 Jun 2015 11:50 UTC
-
TestContext.CurrentTestOutcome contains weird values
Hi, Thanks for sharing this issue. NCrunch's support for MSTest is emulated (rather than integrated), which means that it is a complete re-implementation of the MSTest engine from the ground up. The drawback of such an approach has the potential for compatibility holes. You've managed to f…
02 Jun 2015 10:29 UTC
-
*.ncrunchproject and *.ncrunchsolution encoding change?
[quote=lhorsley;7387]Hi Remco, Thanks for getting back to me so quickly. I have no doubt there was a valid reason for the change, however UTF-8, UTF-16 and UTF-32 all support the full set of Unicode code points; UTF-8 and UTF-32 could potentially support more if it weren't limited by UTF-16. …
02 Jun 2015 10:26 UTC
-
Issue with VS2015 RC
I've managed to find a solution to this. The problem was in the way that NCrunch has been handling a strange mscorlib assembly reference that exists only when an FSharp type provider is in use. I've prepared a fixed build if you'd like to give it a try: [url=http://downloads.ncrunch.net/NCrun…
02 Jun 2015 09:54 UTC
-
*.ncrunchproject and *.ncrunchsolution encoding change?
Hi Luke, You are correct - this was changed .. though it was a while ago (I think maybe a year or so). The encoding needed to be changed because these files can contain user entered strings that sometimes require complex character sets that just don't work in UTF8. This creates some very stra…
01 Jun 2015 21:36 UTC