Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
OriginalGriff6-Jan-12 23:21
mveOriginalGriff6-Jan-12 23:21 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du7-Jan-12 5:29
Jun Du7-Jan-12 5:29 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Not Active7-Jan-12 5:44
mentorNot Active7-Jan-12 5:44 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du7-Jan-12 6:48
Jun Du7-Jan-12 6:48 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
RobCroll8-Jan-12 18:13
RobCroll8-Jan-12 18:13 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du9-Jan-12 3:13
Jun Du9-Jan-12 3:13 
AnswerRe: How to make auto-generated unit tests fail initially? Pin
Ravi Bhavnani9-Jan-12 2:12
professionalRavi Bhavnani9-Jan-12 2:12 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du9-Jan-12 3:22
Jun Du9-Jan-12 3:22 
Ravi Bhavnani wrote:
One way to do this is to make the methods being tested throw
NotImplementedException.


Yes, that would work for each of the unfinished methods after the class is coded.


Ravi Bhavnani wrote:
Of course, you also need to perform system (vs. unit) testing to help ensure
product quality.


Absolutely. Usually, unit test is tedious and costly. By using some sort of test framework, we could simplify and automate the process significantly.
Best,
Jun


modified 9-Jan-12 9:33am.

GeneralRe: How to make auto-generated unit tests fail initially? Pin
Pete O'Hanlon9-Jan-12 3:52
mvePete O'Hanlon9-Jan-12 3:52 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Ravi Bhavnani9-Jan-12 4:18
professionalRavi Bhavnani9-Jan-12 4:18 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Pete O'Hanlon9-Jan-12 4:38
mvePete O'Hanlon9-Jan-12 4:38 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du9-Jan-12 8:12
Jun Du9-Jan-12 8:12 
AnswerRe: How to make auto-generated unit tests fail initially? Pin
BobJanova9-Jan-12 4:57
BobJanova9-Jan-12 4:57 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du9-Jan-12 5:15
Jun Du9-Jan-12 5:15 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Pete O'Hanlon9-Jan-12 5:29
mvePete O'Hanlon9-Jan-12 5:29 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
BobJanova9-Jan-12 6:48
BobJanova9-Jan-12 6:48 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
Jun Du9-Jan-12 7:45
Jun Du9-Jan-12 7:45 
GeneralRe: How to make auto-generated unit tests fail initially? Pin
BobJanova13-Jan-12 5:59
BobJanova13-Jan-12 5:59 
QuestionGZipStream appears to malfunction (24K maximum) Pin
Paladin20006-Jan-12 5:17
Paladin20006-Jan-12 5:17 
AnswerRe: GZipStream appears to malfunction (24K maximum) Pin
Luc Pattyn6-Jan-12 7:00
sitebuilderLuc Pattyn6-Jan-12 7:00 
GeneralRe: GZipStream appears to malfunction (24K maximum) Pin
Paladin20006-Jan-12 7:51
Paladin20006-Jan-12 7:51 
GeneralRe: GZipStream appears to malfunction (24K maximum) Pin
Paladin20006-Jan-12 9:02
Paladin20006-Jan-12 9:02 
GeneralRe: GZipStream appears to malfunction (24K maximum) Pin
jschell6-Jan-12 9:11
jschell6-Jan-12 9:11 
GeneralRe: GZipStream appears to malfunction (24K maximum) Pin
harold aptroot6-Jan-12 23:34
harold aptroot6-Jan-12 23:34 
AnswerRe: GZipStream appears to malfunction (24K maximum) Pin
Luc Pattyn8-Jan-12 18:46
sitebuilderLuc Pattyn8-Jan-12 18:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.