Blogged : "Mocking Multiple Interfaces - Delphi Mocks"

Blogged : "Mocking Multiple Interfaces - Delphi Mocks"

Pushed an update to Delphi Mocks today which allows easier mocking for multiple interfaces. Also made a quick little blog post about it. Enjoy!

#delphi  #delphi-mocks  #unittesting

http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks
http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks

Comments

  1. Sounds interesting. My implementation isn't as neat as I would like. Having a container class which owns all the interfaces would be an improvement. Then it's a simple matter of making sure the container is always alive.

    ReplyDelete
  2. Jason Duffy Smith  TIC: Global variable :-P

    ReplyDelete
  3. Neat!
    Nitpicking: 
    s/TProjectSaveCheckVisitor/TProjectSaveCheck/

    ReplyDelete

Post a Comment