Managing test suites for services

899 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
899
On SlideShare
0
From Embeds
0
Number of Embeds
470
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Managing test suites for services

  1. 1. Managing test suites for services Kathrin Kaschner
  2. 2. 208.10.2010 http://service-technology.org Black Box Testing specification test case service implementation generate
  3. 3. 308.10.2010 http://service-technology.org Service Oriented Computing – implements an encapsulated, self-contained functionality – loosely-coupled – geographic distributed – communication via message exchange – stateful Service: B D A C
  4. 4. 408.10.2010 http://service-technology.org Modeling Communication specification B A login reject accept cc bt cod ω
  5. 5. 508.10.2010 http://service-technology.org implementation Modeling Communication login reject accept cc bt cod ω login reject accept cc bt cod ω specification
  6. 6. 608.10.2010 http://service-technology.org Modeling Communication  no deadlocks the model describes the set of all partner services implicitly login reject accept cc bt cod ω specification
  7. 7. 708.10.2010 http://service-technology.org Test Case = Partner Service a possible partner service login reject accept ω cc How to find partners systematically? ✔ login reject accept cc bt cod ω specification
  8. 8. 808.10.2010 http://service-technology.org Operating Guidelines – characterizes all partner services – edges: ? = receive message ! = send message – annotated states
  9. 9. 908.10.2010 http://service-technology.org Operating Guidelines login reject accept ω cc ✔
  10. 10. 1008.10.2010 http://service-technology.org specification test case service implementation generate Black Box Testing
  11. 11. 1108.10.2010 http://service-technology.org Black Box Testing (1) (2) abstract test case specification formal specification (open net) operating guideline test case implementation (3) (4) (5)
  12. 12. 1208.10.2010 http://service-technology.org - new functionalities are not taken into account by the existing test suite - existing test cases can become invalid login reject accept cc bt cod ω voucher Development of a new version
  13. 13. 1308.10.2010 http://service-technology.org login reject accept ω cc ✘ login reject accept cc bt cod ω voucher Development of a new version
  14. 14. 1408.10.2010 http://service-technology.org 1) Making the test suite conclusive – invalid test cases are removed from the test suite  matching with the new operating guideline login reject accept cc bt cod ω voucher Updating the test suite
  15. 15. 1508.10.2010 http://service-technology.org 2) Making the test suite complete – add test cases for the new functionalities  set operations for operating guidelines OG OGnew Updating the test suite new test cases
  16. 16. 1608.10.2010 http://service-technology.org Future Work – OGnewOG can be only represented as an extended annotated automaton  test case selection is NP-complete  good heuristics are needed OG OGnew new test cases

×