I tried a lot,but still not getting proper link and articles which can sort out my problem.
I have some NUnit test(s),which I want to integrate with team city server,for this I am using NUnit runner type in Teamcity,i gave my dll file path from which test has to execute,but after a while its giving "This build is probably hanging".
Do i need to do any additional configurations for this? Can anyone help me out in this.
Here i am attaching my NUnit build runner configuration also.
I can say a couple of things that perhaps can be useful in your case.
So it should be like MyProject001.Tests. Also namespaces should be the same and finally output DLL should look like MyProject001.Tests.dll
Make sure that you have MyProject001.Tests.dll in the correct folder locally and you commit it via SVN properly as well.
Sometimes Auto MSIL
option is not a good decision.
Under NUnit settings I use path like *//BuildOutput/MyProject001.Tests.dll
Also setup corret .NET framework version.
I hope it will help you somehow. Keep smiling, bro!
P.S.
In my C# code I have got
[TestFixture]
public class TestClass
{
[TestCase]
public void Test0001()
{
// blah blah
Assert.AreEqual(true, result);
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With