CSC/ECE 517 Fall 2012/ch2a 2w33 pv

From Expertiza_Wiki
Revision as of 04:54, 23 October 2012 by Pgjalisa (talk | contribs)
Jump to navigation Jump to search

SaaS - 5.5 - Fixtures and Factories

Introduction to Testing

Fixtures

Fixtures are sample data on which all the tests run. There can be 3 types of fixtures:

 1. YAML fixtures
 2. CSV fixtures
 3. Single-file fixtures

YAML Fixtures

CSV fixtures

Single-file fixtures

Factories

References

Also see