This change implements Fixtures for a connected database, allowing data to be be imported at the start of a test method, and removed at the end of the test method (inside of a single transaction.)
Data is loaded through DataSets, Temp-Tables, JSON and XML files. Tests are annotated with a 'Fixture' annotation, and an associated class method is run, returning a Fixture object containing the DataSets to load. Multiple datasets can be be loaded per Fixture, and each fixture method can be used with more than one test method.
I haven't heard any noise on this pull request since submitting it, so I'll presume that it's fine to merge unless I hear otherwise by 12 noon GMT on 2015-05-15.
This change implements Fixtures for a connected database, allowing data to be be imported at the start of a test method, and removed at the end of the test method (inside of a single transaction.)
Data is loaded through DataSets, Temp-Tables, JSON and XML files. Tests are annotated with a 'Fixture' annotation, and an associated class method is run, returning a Fixture object containing the DataSets to load. Multiple datasets can be be loaded per Fixture, and each fixture method can be used with more than one test method.