TestWest Presentation: Test Data re-usability and sustainability
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
01_objectmother.cs
02_testdatabuilder.cs
03_combining_both_patterns.cs
04_derivedvalues.cs
05_anonymousvalues.cs
06_equivalence_classes.cs
Presentation.ppt
README.md

README.md

TestWest Presentation: Test Data re-usability and sustainability

Download presentation file (.ppt).

Overview

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

Presentation

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