Click here to Skip to main content
       

.NET Framework

 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime Pinmembersteve_94966136-Dec-12 21:25 
GeneralRe: [VB.NET 2008] How to get control on objects created at runtime PinmemberEddy Vluggen7-Dec-12 1:16 
QuestionTesting Practices PinmemberAndrew Stoute5-Dec-12 4:44 
AnswerRe: Testing Practices PinmemberEddy Vluggen5-Dec-12 5:36 
GeneralRe: Testing Practices PinmemberAndrew Stoute5-Dec-12 5:45 
GeneralRe: Testing Practices PinmemberEddy Vluggen5-Dec-12 5:53 
GeneralRe: Testing Practices PinmvpDave Kreskowiak5-Dec-12 6:29 
GeneralRe: Testing Practices PinmvpDave Kreskowiak5-Dec-12 6:26 
You're also testing what would happen based on the types of data that you're sending it. If, somewhere down the road, the data you're sending the method changes, you may need to document that the method can handle those changes as expected, such as sending a string of space and tab characters.
 
Personally, I would be checking to see if an actual string was passed in, THEN stripping the data of leading and trailing whitespace if required and then checking for an empty string. String.IsNullOrEmpty doesn't check to see if the string contains non-whitespace characters.

GeneralRe: Testing Practices PinmemberEddy Vluggen5-Dec-12 6:34 
GeneralRe: Testing Practices PinmvpDave Kreskowiak5-Dec-12 9:55 
GeneralRe: Testing Practices PinmemberEddy Vluggen6-Dec-12 0:08 
QuestionHow to make a list view and gallerie view on a product page list on some e-commerce PinmemberEl daniel4-Dec-12 0:19 
AnswerRe: How to make a list view and gallerie view on a product page list on some e-commerce PinmemberEddy Vluggen4-Dec-12 0:37 
Questionframework 2.0 and win98 Pinmembercaradri3-Dec-12 22:37 
AnswerRe: framework 2.0 and win98 PinmvpRichard MacCutchan3-Dec-12 23:01 
AnswerRe: framework 2.0 and win98 PinmemberEddy Vluggen3-Dec-12 23:04 
AnswerRe: framework 2.0 and win98 PinprotectorPete O'Hanlon3-Dec-12 23:07 
GeneralRe: framework 2.0 and win98 PinmemberEddy Vluggen3-Dec-12 23:31 
GeneralRe: framework 2.0 and win98 PinprotectorPete O'Hanlon3-Dec-12 23:38 
GeneralRe: framework 2.0 and win98 PinmemberEddy Vluggen3-Dec-12 23:43 
GeneralRe: framework 2.0 and win98 PinprotectorPete O'Hanlon3-Dec-12 23:41 
GeneralRe: framework 2.0 and win98 Pinmembercaradri4-Dec-12 0:25 
GeneralRe: framework 2.0 and win98 PinmvpDave Kreskowiak4-Dec-12 4:11 
GeneralRe: framework 2.0 and win98 Pinmembercaradri4-Dec-12 0:23 
GeneralRe: framework 2.0 and win98 PinmemberEddy Vluggen4-Dec-12 0:36 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid