CameronWills / OEUnit

Unit testing framework for OpenEdge ABL
25 stars 14 forks source link

Implement Fixtures to import data from specified DataSets per Test #14

Closed msabbott closed 9 years ago

msabbott commented 9 years ago

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.

msabbott commented 9 years ago

Hi Cameron,

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.

Thanks Mark