Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
AnswerRe: GridView disbale Edit if already in edit mode by another user Pin
Eddy Vluggen7-Dec-13 2:28
professionalEddy Vluggen7-Dec-13 2:28 
GeneralRe: GridView disbale Edit if already in edit mode by another user Pin
Member 103249747-Dec-13 2:46
Member 103249747-Dec-13 2:46 
GeneralRe: GridView disbale Edit if already in edit mode by another user Pin
Dave Kreskowiak7-Dec-13 5:02
mveDave Kreskowiak7-Dec-13 5:02 
QuestionHow to validate RequiredFieldValidator in ASP.net AjaxFileUploader Pin
Hitesh Vaghasiya6-Dec-13 18:12
Hitesh Vaghasiya6-Dec-13 18:12 
SuggestionRe: How to validate RequiredFieldValidator in ASP.net AjaxFileUploader Pin
Richard MacCutchan6-Dec-13 21:42
mveRichard MacCutchan6-Dec-13 21:42 
GeneralRe: How to validate RequiredFieldValidator in ASP.net AjaxFileUploader Pin
Hitesh Vaghasiya6-Dec-13 21:53
Hitesh Vaghasiya6-Dec-13 21:53 
GeneralRe: How to validate RequiredFieldValidator in ASP.net AjaxFileUploader Pin
Richard MacCutchan6-Dec-13 22:35
mveRichard MacCutchan6-Dec-13 22:35 
QuestionIntegration tests Pin
Member 44870836-Dec-13 10:00
Member 44870836-Dec-13 10:00 
Are integration tests worth the trouble?

I personally don't like integration tests, or at least not when they're mixed in with unit tests. They are much more costly than unit tests and their benefit seems to be minimal. There was a time when I had to write lots of them for legacy code. They were complicated, took ages to write, forever breaking, very hard to fix and took ages to run. As far as I can see, if you have good unit tests, then the only real benefit is verifying that the IoC container is configured correctly and the config is passed through correctly. All of these things will get picked up by minimal manual or automated UI tests anyway.

The time they take to execute is a bit of an issue for. I like to do TDD and like to run all tests after most changes. This isn't practical with Integration tests as they take too long to execute, so I then need to find the test(s) I want to execute and choose those instead of just using a keyboard shortcut. Does anybody know a good way of separating them?

Does anybody know a better place for doing these kind of tests ie. no in MSTest or NUnit?
AnswerRe: Integration tests Pin
Abhinav S7-Dec-13 20:50
Abhinav S7-Dec-13 20:50 
QuestionWeb Browser. Document always return null Pin
rajgaikwad015-Dec-13 23:21
rajgaikwad015-Dec-13 23:21 
AnswerRe: Web Browser. Document always return null Pin
Simon_Whale6-Dec-13 1:28
Simon_Whale6-Dec-13 1:28 
QuestionI am trying to dispaly database values based on the combobox selection and i get this error "Data is null. this method cannot be called on null values" Pin
Member 103378795-Dec-13 19:04
Member 103378795-Dec-13 19:04 
AnswerRe: I am trying to dispaly database values based on the combobox selection and i get this error "Data is null. this method cannot be called on null values" Pin
Purna Chandra Rao Chamidisetty5-Dec-13 20:46
Purna Chandra Rao Chamidisetty5-Dec-13 20:46 
AnswerRe: I am trying to dispaly database values based on the combobox selection and i get this error "Data is null. this method cannot be called on null values" Pin
Richard MacCutchan5-Dec-13 21:17
mveRichard MacCutchan5-Dec-13 21:17 
AnswerRe: I am trying to dispaly database values based on the combobox selection and i get this error "Data is null. this method cannot be called on null values" Pin
WuRunZhe6-Dec-13 14:33
WuRunZhe6-Dec-13 14:33 
QuestionAsp.Net with C# Pin
ChandrakanthGaddam5-Dec-13 5:46
ChandrakanthGaddam5-Dec-13 5:46 
AnswerRe: Asp.Net with C# Pin
Simon_Whale5-Dec-13 6:06
Simon_Whale5-Dec-13 6:06 
QuestionRe: Asp.Net with C# Pin
Eddy Vluggen5-Dec-13 8:00
professionalEddy Vluggen5-Dec-13 8:00 
AnswerRe: Asp.Net with C# Pin
Abhinav S5-Dec-13 17:28
Abhinav S5-Dec-13 17:28 
GeneralRe: Asp.Net with C# Pin
ChandrakanthGaddam6-Dec-13 3:38
ChandrakanthGaddam6-Dec-13 3:38 
AnswerRe: Asp.Net with C# Pin
thatraja6-Dec-13 2:20
professionalthatraja6-Dec-13 2:20 
QuestionI am trying to update information using combobox to the database and the error it gives is "Object reference not set to an instance of an object" Pin
Member 103378795-Dec-13 2:46
Member 103378795-Dec-13 2:46 
AnswerRe: I am trying to update information using combobox to the database and the error it gives is "Object reference not set to an instance of an object" Pin
Pete O'Hanlon5-Dec-13 2:50
mvePete O'Hanlon5-Dec-13 2:50 
AnswerRe: I am trying to update information using combobox to the database and the error it gives is "Object reference not set to an instance of an object" Pin
BillWoodruff5-Dec-13 4:05
professionalBillWoodruff5-Dec-13 4:05 
AnswerRe: I am trying to update information using combobox to the database and the error it gives is "Object reference not set to an instance of an object" Pin
Abhinav S5-Dec-13 17:29
Abhinav S5-Dec-13 17:29 

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.