Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Applying useful testing patterns using TestStack.Dossier

Download PowerPoint

Title

Applying useful testing patterns using TestStack.Dossier

Description

The Object Mother, Test Data Builder, Anonymous Variable/Value, equivalence class and constrained non-determinism patterns/concepts can help you make your tests more readable/meaningful, more terse and more maintainable when used in the right way.

This talk will explain why and where the aforementioned patterns are useful and the advantages they can bring and show examples in code using a library I recently released called TestStack.Dossier.

This presentation was first delivered to the ANZ Coders conference on May 29th 2015 (video).

Notes

  • This is deliberately a fairly contrived example
  • There are some things in here that aren't practical in a production codebase and some things I wouldn't normally do
  • I've tried to get a balance between simplifying things to a point they are easily understandable at a glance, but complex enough that they give a good representation of what can happen in a representative codebase - if you have any suggestions of any improvements I can make please raise an issue

About

Applying useful testing patterns using TestStack.Dossier presentation

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.