|
|
Patterns in Automated Functional Testing - Proposal |
|
|
|
|
|
Patterns in Automated Functional Testing
This workshop will cover the following topics/testing patterns:
- Tests as code which shares concerns like
- Duplication of code
- Common refactorings like: introduce parameter, rename
- Screen Objects which help in
- Removal of duplication
- Providing a fundamental level of abstraction
- Making methods easier to find by grouping them in logically
- Services and Entities - Entities represent Data and Services tie screen objects and entities together.
- Services for creating objects for use in tests: Extending Object Mother pattern.
- Services as collections of functions to abstract business workflows, which helps to
-
Perform action (ex: create customer)
-
Read action (ex: find customer)
-
Business scenario testing (assumes that the screens work already.
-
Enable data driven testing
-
Avoid parameter explosion.
- Independent Services and service methods to ensure test independence
- Reporting - for each test drill down; services called, screens, etc
Format of the session : Hands-on session (basic concepts) and Demo (advanced concepts)
Target Audience :
-
Developers/QAs who write automated functional tests in their work
-
This assumes familiarity with Selenium/WatiR/WatiN (If you have not used anything other than record/playback in tools like WR, QTP then, please play around with Selenium or WatiR/WatiN before you come in. )
Value (attendees acquire) :
-
Explain patterns of organizing tests to improve maintainability
-
Techniques that will make writing future tests easy
-
Techniques to improve the expressiveness/readability of tests
Proposed Agenda:
Topic
|
Time (Approx)
|
Introduction to the problems of automated functional testing (Excercise)
|
45 mins
|
Removing duplication and refactoring techniques (Hands on)
|
20 mins
|
Screen object pattern (Hands on/demo)
|
30 mins
|
Services/Entities pattern (Hands on/demo)
|
1 hour
|
Close/Summary
|
10 mts
|
Profile of Tutorial Presenters :
Vivek Sing serves ThoughtWorks as a Developer with nine+ years of experience in the creation of large-scale distributed object applications and the integration of disparate systems. ÊHe is heavily involved in the Agile Community, consulting with companies on OO Design, patterns, testing techniques and development methodologies. His main area of recent expertise has been J2EE and Web/Servlets/JSP, C#/.NET.
Nivetha Padmanaban serves ThoughtWorks as a Quality Analyst with 9+ years of experience in testing and automation. Her expertise includes automation and framework development. She has worked with open source and commercial tools.
Past Tutorials:
This is the first time we are conducting this workshop.
|
|
|
|
|
|
|