Questions tagged [nunit-2.6]

For issues relating creating and running unit tests using NUnit, version 2.6.

NUnit is an open source unit testing framework for Microsoft .NET written in C#. It serves the same purpose as JUnit does in the Java world, and is one of many in the xUnit family.

21 questions
0
votes
0 answers

Exception: Unable to cast object of type 'NUnit.Core.NamespaceSuite' to type 'NUnit.Core.TestFixture'

I am getting a typecast exception while executing the below code : public static void Main(String[] args) { string testpackagepath = @"C:\Users\pjena\source\repos\Lacerte.Test\Lacerte.Test.Nunit\bin\Debug\Lacerte.Test.Nunit.dll"; …
0
votes
2 answers

BDD specflow test reports with Jenkins

I am trying to integrate donut type report using specflow and NUnit2.64(I have tried with Nunit3 as well) using Jenkins. Has anyone tried that I google it but can't find much detail? I have done the following configuration in my Jenkins. MSBuild…
Harry
  • 4,705
  • 17
  • 73
  • 101
0
votes
1 answer

NUnit output not shown in saved XML report

I am using NUnit 2.6 and have the following test case: [Test] public void TestCase() { ....test case code.... // Success Console.WriteLine("---------------->Test Passed<----------------"); } After the test case is executed, the results are…
lerner1225
  • 862
  • 7
  • 25
0
votes
1 answer

Timeboxing NUnit Unit Tests

I've inherited a codebase which has had some bad check-ins -- some of the unit tests are completely hanging and I can't run the entire unit test suite because it will always get stuck on specific tests. -- I would like to take an inventory of those…
BrainSlugs83
  • 6,214
  • 7
  • 50
  • 56
0
votes
1 answer

NUnit extension does not work running tests through the NUnit GUI

I have some problem to use both the NUnit Visual Studio Test Adapter and a framework extension class I've created. In particular my solution has 2 projects: the first one is a class library that contains some methods I must test and the second one…
baru
  • 401
  • 3
  • 9
  • 29
0
votes
1 answer

Why are breakpoints in tests not hit?

I have several NUnit tests in a test project that is part of a solution. I have a breakpoint in each test method. A "typical" one of these methods is: public void TestHHSInterface() { var HHSClient = IOC.container.Resolve(); var…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
2