IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > Bobby Woolf: WebSphere SOA and J2EE in Practice > ... > Service > Service Test > Information > Page Comparison
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
Service Test
Version 4 by bwoolf
on Jan 31, 2008 10:47.


compared with
Current by bwoolf
on Jan 31, 2008 12:39.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 h1. Service Test
  
  Here's a definition I tend to use:
  
 bq. A *service test* validates that a [service] performs the correct [behavior|service behavior]. A set of tests is required to validate all of a service's behavior, with usually at least one test per operation. A service test must be written for a specific [service interface].
  
 A service test is a unit test designed to test a [service]. Some might consider a service to be too big a unit of code to properly unit test, so a service test is broader. But a service is a good level for testing since it's designed to be easily reusable and to encapsulate its implementation.
  
 Two service provider implementations that pass the same set of service tests can be considered to be providers of the same service. This is because they have the same [service behavior] and [service interface]. To be truly interchangeable, two service providers should implement the same [service contract].
  
 I talk about service tests more in my article "[Streamline SOA development using service mocks|http://www.ibm.com/developerworks/blogs/page/woolf?entry=streamline_soa_development_using_service]."

 
    About IBM Privacy Contact