TestWest Presentation: Test Data re-usability and sustainability
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


TestWest Presentation: Test Data re-usability and sustainability

Download presentation file (.ppt).


It's fair to say that most line of business applications involve the capture, retrieval and/or manipulation of data. When testing these applications subtle variations in this data needs to be generated and specified in order to exercise the different business rules we need to implement and test. As an application grows in complexity being able to specify this data in a sustainable, understandable and maintainable manner becomes harder and requires diligence.

There are a number of useful techniques that can be leveraged to structure automated tests to keep a focus on the important parts of the data for a given test (keeping tests readable and maintainable), as well as providing a mechanism to generate data sustainably in a way that can be reused for unit tests, integration tests, automated UI tests as well as data-seeding for focussed manual testing.

The main focus of the presentation will be to demonstrate practical examples to generate object-oriented data and suggested practices for structuring tests using that data and will look into various patterns like object mother, test data builder, derived values, anonymous values and equivalence classes.

Further Reading


This presentation was given to the TestWest Conference held by BankWest on March 12 2014 at Perth Convention and Exhibition Centre.