Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented the foundations to provide custom data driven tests.
Created new record structure TestCaseInfo that contains, the name and values used for a given test case. Created two new abstract classes, fully XML documented in the code. CustomTestCaseAttribute - Implementor must return a TestCaseInfo CustomTestCaseSourceAttribute - Implementor must return an Array of TestCaseInfo Changed TestCaseAttribute to descend from the CustomTestAttribute. TDUnitXTestFixture.GenerateFixtureFromClass - Was Refactored to remove duplicated code. - Implmented checking for CustomTestCaseAttribute, and CustomTestCaseSourceAttribute and created correct tests. - Added a few comments so I could keep track of why all the different "if" blocks are needed. Create a MockDescendant of CustomTestCaseSourceAttribute, and associated tests to insure new functionality works.
- Loading branch information
Showing
3 changed files
with
207 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters