DigitPaint / roger

Roger is your friendly front-end development toolbox!
MIT License
4 stars 4 forks source link

Use Mock objects for release and project #31

Closed flurin closed 9 years ago

flurin commented 9 years ago

This is an alternative implementation of #29

After discussion with @edwinvdgraaf I've come to the conclusion that the use of Mock objects that are subclasses of the actual objects have a lot of benefits. So I added an alternative to having subclasses of Test::Unit::TestCase. These can also be used outside of Roger in plugins for testing.

The module is called Testing which is a bit unintuitive but as Test is already taken by the Roger Test we have to make due.

Let me know what you think!

edwinvdgraaf commented 9 years ago

:+1: