Click here to Skip to main content
15,919,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retaining index of an item Pin
Chris Copeland23-Apr-14 1:55
mveChris Copeland23-Apr-14 1:55 
GeneralRe: Retaining index of an item Pin
Ravi Bhavnani23-Apr-14 2:48
professionalRavi Bhavnani23-Apr-14 2:48 
AnswerRe: Retaining index of an item Pin
Marco Bertschi22-Apr-14 22:29
protectorMarco Bertschi22-Apr-14 22:29 
Questionwhich Data Grid to use?? Pin
Member 1076709622-Apr-14 6:50
Member 1076709622-Apr-14 6:50 
AnswerRe: which Data Grid to use?? Pin
OriginalGriff22-Apr-14 8:27
mveOriginalGriff22-Apr-14 8:27 
GeneralRe: which Data Grid to use?? Pin
Member 1076709622-Apr-14 21:45
Member 1076709622-Apr-14 21:45 
AnswerRe: which Data Grid to use?? Pin
Rahul VB22-Apr-14 9:02
professionalRahul VB22-Apr-14 9:02 
AnswerRe: which Data Grid to use?? Pin
Wes Aday22-Apr-14 13:19
professionalWes Aday22-Apr-14 13:19 
GeneralRe: which Data Grid to use?? Pin
Mycroft Holmes22-Apr-14 14:06
professionalMycroft Holmes22-Apr-14 14:06 
GeneralRe: which Data Grid to use?? Pin
Member 1076709622-Apr-14 14:39
Member 1076709622-Apr-14 14:39 
AnswerRe: which Data Grid to use?? Pin
thatraja22-Apr-14 22:16
professionalthatraja22-Apr-14 22:16 
Questionmicrosoft.office.interop.word compatibility Pin
Member 980950622-Apr-14 4:42
Member 980950622-Apr-14 4:42 
AnswerRe: microsoft.office.interop.word compatibility Pin
Eddy Vluggen22-Apr-14 6:51
professionalEddy Vluggen22-Apr-14 6:51 
QuestionLAN Pin
Member 1068496822-Apr-14 0:53
Member 1068496822-Apr-14 0:53 
AnswerRe: LAN Pin
Keith Barrow22-Apr-14 1:05
professionalKeith Barrow22-Apr-14 1:05 
AnswerRe: LAN Pin
Eddy Vluggen22-Apr-14 6:52
professionalEddy Vluggen22-Apr-14 6:52 
AnswerRe: LAN Pin
OriginalGriff22-Apr-14 8:30
mveOriginalGriff22-Apr-14 8:30 
GeneralRe: LAN Pin
Rahul VB22-Apr-14 8:44
professionalRahul VB22-Apr-14 8:44 
GeneralRe: LAN Pin
OriginalGriff22-Apr-14 8:51
mveOriginalGriff22-Apr-14 8:51 
GeneralRe: LAN Pin
Rahul VB22-Apr-14 9:00
professionalRahul VB22-Apr-14 9:00 
GeneralRe: LAN Pin
OriginalGriff22-Apr-14 9:27
mveOriginalGriff22-Apr-14 9:27 
GeneralRe: LAN Pin
Rahul VB22-Apr-14 9:51
professionalRahul VB22-Apr-14 9:51 
AnswerRe: LAN Pin
Rahul VB22-Apr-14 8:51
professionalRahul VB22-Apr-14 8:51 
QuestionTesting advice....please Pin
tadhg8822-Apr-14 0:09
tadhg8822-Apr-14 0:09 
Hi All,
I have just written a console app to add booking info to a database based on emails pulled from an inbox. The app seems to work fine but I would like to write some tests to allow me to regularly/quickly test the functionality when somebody decides to send a surprise email format.
The app is pretty basic, an Import class to represent each of the possible client emails and an Importer class to handle the actual creating of the booking in the db both of which have an interface defined to set a base of functionality required by each(IImport and IBookingImporter). Pic of project structure below.
http://www.imagebam.com/image/a1cf9a322230061[^]

I have a basic understanding of testing and have briefly used NUnit before but I'm just wondering if anyone has a good articles or resource(more specific than google) to help set me on the correct road to writing some tests for each of the Imports.
A specific concern would be how i am going to represent/mock i guess, the email service and retrieve the mails.
Although any help or advice would really be appreciated, thanks in advance
AnswerRe: Testing advice....please Pin
Simon_Whale22-Apr-14 0:24
Simon_Whale22-Apr-14 0:24 

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.