Forum member
samuelhess1
4 posts
Posts by samuelhess1
-
Howto disable analysis task
I've just learned, that MSTest has the same concept as xUnit Theories: [DataRow(0, 0)] [DataRow(1, 1)] [DataRow(2, 1)] [DataRow(80, 23416728348467685)] [DataTestMethod] public void MyTest(int number, int result) { // do something } I've also observed, that NCrunch does not have any …
28 Jun 2019 05:51 UTC
-
Howto disable analysis task
Thank you for your tipp! I've restructured one big Theory with ~150 InlineDataAttributes to a normal FactAttribute test. This reduced the required time of the Analysis task to less than a second. However, the existence of Theories are the main reason I am using xUnit instead of MSTest - so I'…
28 Jun 2019 05:23 UTC
-
Howto disable analysis task
Ok, so disabling the analysis does not make any sense. :|o That also explains, why the tests start running only after the analysis task has completed. I actually use xUnit Facts and Theories. I assume there is no way to accelerate the analysis task other than using a more powerfull computer or…
27 Jun 2019 09:13 UTC
-
Howto disable analysis task
"NCrunch Processing Queue" almost permanently shows a Task called "Analysis". "NCrunch Timeline Export to html" confirms, that most of the time one CPU core is busy doing analysis. My understanding of the task "analysis" is, that NCrunch runs the roslyn analyzers that come with nuget packages lik…
27 Jun 2019 06:44 UTC