Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Unit Testing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
irwin.williams@gmail.com - 20 Oct 2005 14:32 GMT
Hello
I am not sure if this is the exact forum for this question, so if it
isnt please let me know.
I have built a web service, and i want to apply some unit testing to
the various methods i will invoke - submit(), deliver(), etc ...
Is there any 'best practice' way of doing this? Should i test using a
filter on the pipeline object or via building an extension which will
be used after serialization?
Should i even test before serialization (if that is possible)?
I really am just looking for tips on how to verify that my web service
is behaving.
If it seems like there are holes in my understanding of things
pertaining to web services, web services extensions or related
technologies, there probably are. So feel free to say, read this link
or that link...
Thanks
Michael Nemtsev - 21 Oct 2005 10:58 GMT
Hello irwin.williams@gmail.com,

Using unit test for WS u can perfom black box testing.
WS is just contract, the interface u can only see - nothing else
U only can test the range of input and output data, and validate them.

Moreover, u *must* test what's your WS do. For this reason u need a mock
class (that will represent your WS in system)
and write additional unit test for actions performing by your WS

> I am not sure if this is the exact forum for this question, so if it
> isnt please let me know.
[quoted text clipped - 11 lines]
> or that link...
> Thanks
---
WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
irwin.williams - 24 Oct 2005 14:04 GMT
ok, thanks man

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.