Forum member

otac0n

51 posts

Posts by otac0n

  1. Automatically Include Referenced NuGet Packages

    I have several build-time NuGet tools that we use for code analysis and code generation. Every member on my team has to manually re-add the appropriate folders every time he/she checks out or cleans the working directory. If NCrunch could just detect any <Include> in the project that reference…

  2. 'Consider inconclusive tests as passing' does not work for [Theory] tests.

    This works fine: [code=csharp]using System; using NUnit.Framework; namespace ReproNCrunchIssue { [TestFixture] public class TypeTests { private Type[] types = { typeof(int), typeof(string) }; [TestCaseSource("types")] public void TypeTest(Type type…

  3. 'Consider inconclusive tests as passing' does not work for [Theory] tests.

    This fails, regardless of wheter or not the 'Consider inconclusive tests as passing' setting is enabled. [code=csharp]using System; using NUnit.Framework; namespace ReproNCrunchIssue { [TestFixture] public class TypeTests { [Datapoints] private Type[] types =…

  4. When there are many dependent projects, tests can end up taking a very long time to be scheduled.

    Well, I was adding and changing public methods, so that could have been doing it. Even still, why should I have to wait for all projects to build for my most basic tests to run? My solution for now has been to filter my SLN to just the projects I need using SLNTools, which is actually working li…

  5. When there are many dependent projects, tests can end up taking a very long time to be scheduled.

    We have a solution with over a hundred projects. There is a project near the center of all of this called "Woot.Framework", which acts as a supplement to the .NET Framework for us. Our problem: this project should be the most heavily tested project, but NCrunch makes testing it painful. Any tim…

  6. Filenames containing curly braces confuse the error window.

    I have filenames like "IImmutableList{T}", and these seem to confuse the error window. This is leading to misaligned and broken links. My guess is that this needs to be escaped for a string.Format call. See "Escaping Braces" in http://msdn.microsoft.com/en-us/library/txafckwd(v=vs.110).aspx

  7. Files locked during HG checkout / merge operations.

    This happens on a several-times-per-day basis: [code=plain]C:\Repo [apa-default tip]> hg update default abort: Access is denied C:\Repo [apa-default ~148 ?10 !412 tip]> hg update default abort: Access is denied: 'C:\Repo\PACKAGES/UNITY.EXTENSIONS.LAZY.1.1.1/LIB' C:\Repo [apa-default ~148 ?11 …

  8. Features I need before I can pay for NCrunch.

    With NCrunch as a free tool, it is easy to justify shortcomings, but I can't justify a $150 tool that doesn't do EXACTLY what I need it to. Don't get me wrong, NCrunch does SO MUCH right, but so do a lot of $50-ish tools like Beyond Compare, Regex Buddy, and Sublime Text. $150 demands a very hig…

  9. Some NCrunch feedback

    I have to disagree on the Green vs Red suggestion. The X is already there to indicate which assert caused the failure. The red/green indicates lines that are covered by passing or failing tests. With your suggestion, none of the lines would ever be colored red, except for those that already h…

  10. Global Setting For Test.Inconclusive Behavior?

    It looks like there have been a couple more requests for this to be configurable above the project level. The issue is that adding new test projects to a solution means that I now have to also go change NCrunch settings as well.

  11. NCrunch silently failing to build a project.

    This fixed it, btw.

  12. Global Setting For Test.Inconclusive Behavior?

    Can we have a global setting (or at least a solution level setting) for the behavior of inconclusive tests? Please?

  13. NCrunch silently failing to build a project.

    Here is what seems to be the root of the problem, when I turn on detailed logging: [code][19:04:46.3547-BuildTask-39] ERROR (Internal): System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at S…

  14. NCrunch silently failing to build a project.

    As far as I can tell, it should not have failed the build, but it was showing with an X in the tests window. In order to try to reproduce the error, I "browsed to the last build workspace for the project" and ran MSBuild, which succeeded, as seen in my initial post.

  15. Copying large files using [DeploymentItem] is a race condition?

    This is a very large JSON file that we are using as input and expected output for one of our tests. However, the JSON file is being loaded in the static constructor of a class that is used in the TestInitialize method. The file is only read from, never edited or deleted. I'll try to get a r…

  16. NCrunch silently failing to build a project.

    I was able to get NCrunch to be happy about the project by removing one of the project references. This is confusing becuase that project is referenced by many other projects in our solution and NCrunch is able to build them just fine.

  17. NCrunch silently failing to build a project.

    We have NVrunch failing to build a project, but it does not show an error message in the test window. Here is the (sanitized) output when I browse to the workspace and build the project with MSBuild: [code=plain]Microsoft (R) Build Engine Version 4.0.30319.1 [Microsoft .NET Framework, Version…

  18. Use the same color for the risk/progress bar as is used for the markers.

    I don't use the corner indicator as much as I use the risk/progress bar. However, upon inspection right now, I can't tell what color the ring is. It has an "N" in it, which I assume means there are no Build or Test errors, so that helps a lot. I would say that if you could do both, it would b…

  19. Use the same color for the risk/progress bar as is used for the markers.

    Being colorblind, it is hard for me to notice the difference between the green and the red in the progress bar. I have already changed my marker colors, and that worked like a charm. Would it be possible to use the same colors on the risk bar?

  20. Option to Run Tests on Keystroke OR Run Tests on Save

    At home, I run NCrunch pretty much vanilla and runnin tests per keystroke works beautifully. At work, we have a solution with 127 projects, each with around 20 - 30 classes (on average). Running the tests on keystroke GENERALLY works, but I also often run into issues where the IDE slows down sig…