Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msabbott opened this issue Apr 17, 2015 · 0 comments
Open
Assignees

Comments

@msabbott
Copy link
Owner

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.
@msabbott msabbott self-assigned this Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant