Forum member
royboy23
21 posts
Posts by royboy23
-
RDI and Console Tool / Continous Integration
Hi Remco, I am running the NCrunch Console on my Teamcity CI server and with the VS 2022 Extension during development. I noticed that the Console tool is trying to use RDI when running the tests. Is there any way to make use the RDI data collected on the CI server, for instance in order to de…
03 Oct 2024 10:24 UTC
-
Two Bug Reports concerning Specflow
I can confirm that making the following two settings in the specflow.json fixes the problem in some instances: "language": { "feature": "en-US" }, "bindingCulture": {"name": "en-US"}, However, it is not a reliable workaround. Once these settings are made, using some functions from the S…
30 Jun 2023 08:30 UTC
-
Two Bug Reports concerning Specflow
Coincidently I found out a little bit more about the exception parsing error, so now I have a fully working minimalistic regression test. This goes in the .feature file: [code=plain]Scenario: Exception parsing does not work when using German locale When I execute this step with German loca…
29 Jun 2023 13:03 UTC
-
Two Bug Reports concerning Specflow
[quote=michaelkroes;16710]Hi, I missed in your initial comment that you were using net 4.8. I made a speculative fix for German exceptions under netcore/net5+. That does mean there is something else going on. Out tests for German exceptions are still passing. I tried copying your exception into o…
29 Jun 2023 10:52 UTC
-
Two Bug Reports concerning Specflow
Hi Remco, Thanks for taking the time to look into these issues! The test that is not run automatically is not a big problem at all. It's easy to ignore once the I know about this. The way that an exception is displayed is much more annoying since I have to scroll through the entire Trace…
28 Jun 2023 07:19 UTC
-
Two Bug Reports concerning Specflow
The first issue (impacted tests are not always run) is new, but the second one might be older. I am not quite sure though since I haven't been using NCrunch for over a year now.
24 Jun 2023 07:03 UTC
-
Two Bug Reports concerning Specflow
Thanks for your quick reply! You should be able to reproduce the issue as follows: 0. Set the Engine mode to "Run impacted tests automatically, others manually" 1. Create a new .net 4.8 Project and install NCrunch 4.16.0.4 / Specflow 3.9.74 / NUnit 3.13.3 2. Create a .feature file with th…
23 Jun 2023 15:58 UTC
-
Two Bug Reports concerning Specflow
I just noticed something else in connection with Specflow, which is even more irritating: In earlier versions I have used, there used to be an red X marking test steps that have failed. But now, there are only the red dots on all steps (even the ones after the failed test), so there is no quick way …
23 Jun 2023 11:17 UTC
-
Two Bug Reports concerning Specflow
Hi Remco, I encountered an issue while evaluating the latest version of NCrunch with Nunit and Specflow. Here's the problem I faced: I have configured NCrunch to run impacted tests automatically. When I added a new test step in my .feature file, the test was executed as expected and failed due…
23 Jun 2023 10:54 UTC
-
NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...
Hi Remco, unfortunately the problem has reappeared, though I am not using the Parallelizable attribute. The error message is almost the same: nCrunch.TestExecution.TestExecutionException: Cannot start monitoring test 'Zeiterfassung.Tests.Controllers.TimeEntrySearchControllerTest.' - test Zeit…
04 Dec 2020 14:34 UTC
-
Intermittent Selenium error: DriverServiceNotFoundException
Hi, I'm now trying to run some Selenium Tests NCrunch. It works fine if I just run a single test at a time, but when I run several tests, I get an exception for about 50% of my tests: OpenQA.Selenium.DriverServiceNotFoundException : The file C:\Projects\Zeiterfassung\Zeiterfassung.SeleniumTest…
19 Apr 2020 13:49 UTC
-
NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...
Hi Remco, thanks for the quick reply. The issue was that I had marked my test fixture base with [Parallelizable(ParallelScope.All)] . I thought Once I removed this, the problem on Teamcity went away. Naturally, my tests are not parallelized anymore when I use a different test runner, but usually …
19 Apr 2020 08:52 UTC
-
NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...
Just in case it matters, this is the command from my TeamCity NCrunch build step: "%system.teamcity.build.checkoutDir%\MySolutionName.sln" /c c:\globalconfig.crunch.v3.xml /o "%system.teamcity.build.checkoutDir%\NCrunchResults" -NCrunchCacheStoragePath C:\NCrunchTestRunnerCache Thanks, Adri…
18 Apr 2020 20:40 UTC
-
NUnit3 / Teamcity TestExecutionException: Cannot start monitoring test...
Hi, I am working on a project with about 1500 Nunit tests and use Ncrunch on both my Dev machine and my Teamcity server. Since updating NUnit from 2.6.3 to version 3.12.0, I am having problems with my unit tests on the TeamCity Server. The tests are still run and all are passing, however, I g…
18 Apr 2020 20:38 UTC
-
Autofixture tests intermittently fail when using NCrunch
Hi Remco, thanks about your quick reply. I am aware of the issues you have mentioned since I have been using NCrunch for several years now and mitigated similar problems with a quite large test suite containing many unit and integration tests. However, I have previously only been using NUNit …
29 Sep 2016 10:47 UTC
-
Autofixture tests intermittently fail when using NCrunch
Hi, I'm using NCrunch (latest version) to run a few hundred unit tests implemented with NUnit 3, Autofixture and the Autodata / AutoMoqData attributes. My tests always pass when running them sequentially, but when parallelizing them sometimes I get some random errors that seem to be related to m…
29 Sep 2016 06:25 UTC
-
Autofixture InlineAutoData attribute always causes NCrunch to mark existing tests as new
Hi, I'm using NUnit 3.4.1 and Autofixture 3.49.0 to write parameterized tests such as this one: [Theory] [InlineAutoData(1)] [InlineAutoData(2)] public void Test(int someStableParameter,int someRandomParameter) { Assert.AreNotEqual(0,som…
22 Jul 2016 17:18 UTC
-
XUnit theories are not found by NCrunch if I am using Fluentvalidations instead of regular Asserts
Hi Remco, thanks for your quick reply. I'm using XUnit 1.9.2.1705
28 Jan 2016 08:58 UTC
-
XUnit theories are not found by NCrunch if I am using Fluentvalidations instead of regular Asserts
Hi, I stumbled across a very odd looking quirk of the combination between Ncrunch / XUnit / FluentAssertions. If I create a new XUnit testing library with a this single test class, then NCrunch does not find the test, even though Resharper does: public class FluentAssertionsTestClass { …
27 Jan 2016 19:03 UTC
-
Why are tests with the [Serial] attribute distributed to several nodes?
Hi Remco, Thanks for your quick reply. You are correct, I was looking for a way to make some tests run one after another globally, not just per ncrunch node. The reason is that these tests are using a database mutex and all nodes are using the same database. I guess the only way to achieve th…
16 Jan 2016 14:28 UTC