dsaff / truth-old

Truth: we've made Failure a Strategy
Apache License 2.0
5 stars 2 forks source link

Adds the delegation approach to extension #12

Closed cgruber closed 13 years ago

cgruber commented 13 years ago

This branch adds a delegation approach to extending Truth with your own custom subjects (for various propositions against custom types of objects). The tests provided show how to add a new type to the system, how to create a subject to test it, etc. This is useful to keep from creating a balooning hierarchy of customized TestVerbs.

dsaff commented 13 years ago

Wait, this is closed?

cgruber commented 13 years ago

Sorry - yeah, I closed this because I screwed up the branch so I re-worked it all and forced a branch change, and re-opened in a new pull request.