Senior & Expert .Net Developers Discussion Forum by Nyros Technologies

HIRE .Net Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

cc.net help

 
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> CC.Net
View previous topic :: View next topic  
Author Message
shodhan



Joined: 03 Dec 2007
Posts: 1

PostPosted: Mon Dec 03, 2007 6:48 am    Post subject: cc.net help Reply with quote

Hi ,
I have problem in integrating cc.net with NUnit please help me to solve this.

My unit test code in ccnet.config(inside<task> tag) is


<nunit>
<path>"C:\Program Files\NUnit 2.4.3\bin\nunit-console.exe"</path>
<assemblies>
<assembly>F:\AutoBuildSample\src\UnitTest\bin\Debug\ToolTest.dll</assembly>
</assemblies>
</nunit>


(Not using any building tool)
my simple test case is

[TestFixture()]
public class Test
{
Class2 obj2;
[SetUp]
public void init()
{
obj2 = new Class2();

}
[Test]
public void Test1()
{

obj2.sumb(1,1,112);
Assert.AreEqual(37.00,obj2.ProSum,"Not equal");

}

Class2 contains a method for suming 3 numbers.I get this sum number through property.

When i tested this code with nunit-gui it works fine.


When i integrate this code with cc.net above code. i facing problem.

The negative test case which i entered above is showing nunit test success message.

I am receiving the result like this

Last log entry:


Tests run: 1, Failures: 0, Not run: 0, Time: 0.156 seconds

All Tests Passed.


Why test is not failing?
Pleasssssssssssse help me >............
_________________
shodhan kini
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert .Net Developers Discussion Forum by Nyros Technologies Index -> CC.Net
Page 1 of 1


 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Exceptional Manger
1 suraj 15 Thu Sep 02, 2010 8:52 am
Rahul View latest post
No new posts background image for UITableView
0 kumar 20 Wed Sep 01, 2010 10:34 am
kumar View latest post
No new posts Types of Run time exceptions
1 Dheeraj 23 Wed Sep 01, 2010 8:58 am
venkat View latest post
No new posts Access Web Page content in Windows Forms without WebBrowser
3 mouli 249 Wed Sep 01, 2010 7:31 am
rajesh View latest post
No new posts Explain Interlocked Class & Daemon Thread's?
1 mukundh 33 Wed Sep 01, 2010 7:19 am
setty View latest post
No new posts Life Cycle Of Delegate
0 vinay 18 Wed Sep 01, 2010 7:14 am
vinay View latest post
No new posts Accessing methods defined in another page
1 suraj 21 Tue Aug 31, 2010 12:45 pm
Rahul View latest post
No new posts How ASP.Net events are processed?
1 Teena 27 Tue Aug 31, 2010 11:55 am
suraj View latest post
No new posts Universal description discovery and integration
1 Dileep 21 Tue Aug 31, 2010 11:45 am
venkat View latest post
No new posts What is the difference between Shadowing and Overriding ?
1 suraj 28 Tue Aug 31, 2010 11:37 am
Teena View latest post




Hire an expert .Net developer / coder / programmer or development team from India now!!

Other Forums : Ruby on Rails   ::   PHP   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About .Net Experts   |   More