Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Getting started

    Thanks for your feedback. I also noticed the IE10 issues today in testing and I hope to have them resolved soon. I'll drop a note on this thread when the described configuration option has been added. Cheers, Remco

  2. Can't get log output from NHibernate with NCrunch.

    Good to know! Did you manage this using a custom build step? I'm wondering if it's an option worth suggesting to people as a more performance-friendly alternative to the 'Copy referenced assemblies to workspace' setting.

  3. Getting started

    Hi Alberto, Thanks for posting! devDept looks like a very interesting company and I appreciate the time you're investing to take a look at NCrunch. I hope that the tool will exceed your expectations through your trial! I'll try to answer your above issues as best I can in the order you've pr…

  4. Renaming Test Library

    This was probably caused by a race condition of some kind. Do let me know if you manage to find a way to reproduce it. Thanks! Remco

  5. Add project-level setting for running tests in parallel/sequential.

    There is a way around this. All the attributes that are defined in NCrunch.Framework.dll are basically just named shells, they aren't statically linked with the NCrunch code. NCrunch identifies the meaning of these attributes by their name. So if you create new attributes of your own that spe…

  6. NCrunch 1.41b + TypeMock Isolator V7.1.1.0 -> Faking DateTime fails

    This issue seems as though it may be similar to an earlier reported issue related to TypeMock Isolator V7: http://forum.ncrunch.net/yaf_postst347_System-NullReferenceException-when-running-with-isolator-V7.aspx The residence of the TMockRunner.exe processes indicates that NCrunch is correctly loa…

  7. Renaming Test Library

    Hi Mark - Thanks for reporting this. I'm eager to try and gain some steps to reproduce this problem. Does it happen for you consistently when you rename projects? If you can get it to happen again, try submitting a bug report - the log file may help me to find out why the engine has messed its…

  8. Use personal license at work?

    Hi Mike - The intention of the Named User license is for just what you are suggesting, i.e. someone who wants to use NCrunch themselves (for work or home), without constraint on who you are working for or the type of work you are doing. There are no restrictions on having the license set up on…

  9. Add project-level setting for running tests in parallel/sequential.

    Hi, thanks for the suggestion! I'm wondering if the best way to implement this may be to make some of the NCrunch.Framework attributes work at assembly level. For example, you could then apply an attribute to the test assembly in the form: [assembly: NCrunch.Framework.Serial] And this wo…

  10. Can't get log output from NHibernate with NCrunch.

    Hi, thanks for posting! My suspicion is that there is an implicit reference between the log4net code and the NHibernate logger. Most likely log4net is searching for additional loggers within your build output directory by scanning through adjacent assemblies that export a particular interface, o…

  11. NCrunch 1.41b + TypeMock Isolator V7.1.1.0 -> Faking DateTime fails

    Hi, thanks for posting! Can you share any more details about the experience you have when the test fails in NCrunch? i.e. does it throw a runtime exception when it reaches the Isolate call, or does it simply behave as though the date hasn't been stubbed? One way you can check whether the NCrun…

  12. NCrunch 1.41.0.50 for VS2012 RTM zip install failed

    Thanks for the heads up. I'll do some extra testing around this to see if it's a widespread issue. The ZIP packages are only really supplied for problems with the MSIs, so I do recommend you try to use the MSIs where possible! Cheers, Remco

  13. Last build successful, rebuilding (forever)

    Although I'd say that accessing a file in this location is probably undesirable (and is something you should look at), I don't think that this is directly related to the recursive build issue you've described. In order for NCrunch to keep rebuilding the same project, it must be referencing your ori…

  14. Bug with System.Random

    Hi John, thanks for sharing this issue. The problem appears to be caused by the code itself. I was able to surface the issue in a multitude of different test runners and confirmed that it happens intermittently. The constructor for the Random class, by default, will initialise itself using th…

  15. System.Security.VerificationException: Operation could destabilize the runtime

    For anyone else that experiences the above issue, I've done a bit more digging to try and get to the core of why NCrunch is behaving differently to other test runners in this situation. Because of the need to support pre-v4 versions of the .NET framework, NCrunch makes use of .NET framework 2.0 a…

  16. NSpec support

    Matt Florence (one of the co-authors of NSpec) has been very much carrying the flag on this one, and I think it's quite a big flag to carry. If you're interested in donating some time towards the cause, you might want to get in touch with him. At present he has a Gallio adapter that is much of the…

  17. Last build successful, rebuilding (forever)

    If the nuget.packages.config file is the culprit, I think the key issue here would be trying to identify why the SetBasicInformationFile is being performed against the nuget.packages.config file in your foreground solution directory instead of in the NCrunch workspace. Make sure than when you're …

  18. Won't build a project that uses /unsafe compiler switch

    The 'Use CPU Architecture' setting is specific to the test environment, and doesn't have an impact on the build. This setting actually exists primarily for frameworks like MSTest, where there is no clear standard between test runners which CPU architecture should be used for execution when the test…

  19. Won't build a project that uses /unsafe compiler switch

    Hi Phil - I'll add the platform property to a new configuration option in the upcoming 1.42 release. It really should have been in there much earlier and I'm not sure if I can give any good reason for having left it this late. As far as I know, the default configuration/platform in the .proj …

  20. Portable class libraries fail to build if they include metro

    Wow! Nice work! This is much cleaner than two projects trying to cross-compile the same code. Thanks for taking the time to post this! Something you might find useful is that NCrunch always sets a build property $(NCrunch) equal to '1'. You might be able to use this to help simplify the overr…