Skip to content

Abstract assertions to allow use with other unit test frameworks #9

@msabbott

Description

@msabbott

Support for other unit test frameworks (e.g. ABLUnit) is not currently available, and therefore adds a dependency on OEUnit.

Support could be added by:

  • Abstracting the raising of assertions into a separate class.
  • Creating a class hierarchy for different frameworks.
  • Users can choose between different frameworks by registering the choice in the OEMock static class
    • Default to OEMock.
  • The abstracted assertion class then calls the appropriate method in the child class, as denoted by the OEMock static object.
  • Assertions in Mock objects then changed to use the abstracted methods.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions