Click here to Skip to main content
15,911,317 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I have created a chat client using C# Windows Applicaton.
It's made just by using Forms and classes... No Business Logic.... or UML...
How can I test my application. I think for Unit test, This coding will not be suitable,,,
I want to get the possible errors and dysfunctions,,,,

Please help
Posted

Unit testing is just a part of the story, see, for instance: "Software testing at Wikipedia"[^].
 
Share this answer
 
Comments
Yesudasan Moses 19-Feb-14 8:41am    
I want to capture possible exceptions...
If your chat application for intranet means u want specify for client and servers by using sockets programming.

if you written for your own system chatting, create two instance as client and server then start sending message from server to client vice versa.
 
Share this answer
 
Comments
Yesudasan Moses 19-Feb-14 8:40am    
Its using XMPP....
yep,, its working perfect,... But when we install client, Its hitting some issues....
We wanna get rid of it,.. :(
yep,, its working perfect,... But when we install client, Its hitting some issues....
You will get better responses if you take the time to describe what "issues" you are "hitting," and ask specific questions. We cannot read your mind.

A description of specific errors, accompanied by carefully selected code samples, can enable people here to give you ideas about how you can implement testing to analyze these errors, and correct them.You will get better responses if you take the time to describe what "issues" you are "hitting," and ask specific questions. We cannot read your mind.

A description of specific errors, accompanied by carefully selected code samples, can enable people here to give you ideas about how you can implement testing to analyze these errors, and correct them.

An obvious first step is to isolate the specific place in your code where errors occur, and to document the specific error messages.

Set break-points in your code, and keep on setting them, until you are able to precisely see where an error occurs. At that point, single step into the zone/block/method/whatever where the error occurs, carefully examining the state of any variables, or data-structures, comparing their current values with expected values.

In this case, given the network-traffic aspect of your application, you may need to install, or use, some network monitoring software: once again, if you have isolated the problems to some degree, then you enable people here to share their ideas for the most productive way to intercept/analyze network exchanges.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900