Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new in Nunit framework. So Please some one tell how to take input string through keyboard using NUNIT with c#.
Posted

1 solution

This is very unusual. Unit tests are supposed to run automatically. They cannot do that while waiting for any kind of input.
 
Share this answer
 
v2
Comments
BobJanova 9-Jan-12 11:09am    
Quite so. Unit tests should not require any user interaction; any input to the program should be coded into the test and not taken from outside.
fjdiewornncalwe 9-Jan-12 13:01pm    
+5. Correct.

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