TDD, DDD and Encapsulation

后端 未结 8 1091
误落风尘
误落风尘 2021-02-01 05:19

After several years of following the bad practice handed down from \'architects\' at my place of work and thinking that there must be a better way, I\'ve recently been reading u

8条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-01 05:31

    I was wondering the same thing until I finally stumbled upon the following papers. I found them to be great primers on performing behavior verification, especially the first one providing me several "aha moments":

    1. Using Mocks and Tests to Design Role-Based Objects
    2. Mock Roles, Not Objects

提交回复
热议问题