Forum member
jgauffin
6 posts
Posts by jgauffin
-
Do not strip messages on new line
I got the following test: [code=csharp][Fact] public void parameter_with_space_cannot_be_a_parameter_revert_it_to_text() { var sut = new StringFormatter(); var result = sut.Format("Hello {{{name}}}! {stupid } strange}", new { name = "Jonas" }); result.Should().Be("Hello {Jona…
16 Dec 2013 10:49 UTC
-
Ignore tests using attributes
We are using [ExclusivelyUses] for some integration tests. But for some tests I would like that NCrunch ignores them completely. Is that possible by using attributes? Something like [SkipTest] Each dev is using their own NCrunch settings, so I can't do it in the configuration.
18 Sep 2013 05:55 UTC
-
Run one test at a time
Doh. You had already implemented this :) [ExclusivelyUses]
04 Mar 2013 14:00 UTC
-
Run one test at a time
We have some classes which only contains integration tests. It would be great if we could tag those classes with a custom attribute to tell ncrunch to only run one method at a time in the tagged class: [code=csharp] [TestClass] [SomeSpecialAttributeToMakeNCrunchRunOneMethodAATime] public cl…
04 Mar 2013 13:58 UTC
-
Run tests sequentially
I don't mean that the tests should run in a specific order but that only one test has to be run at a time. My current client has a codebase with a lot of integration tests. The DB is setup before each test. so running more than one test simultaneously will screw up the DB.
20 Feb 2013 07:40 UTC
-
Run tests sequentially
I'm running ncrunch on a project which has integration tests and uses mstest. The problem is that ncrunch doesn't seem to run the tests sequentially even though I've told it to do so (run one test at a time). that results in that the DB is not setup correctly before each test = tests fail. …
06 Feb 2013 07:34 UTC