【计算机英语】What we could do instead is mock each of the Repositories,to test out...
问题描述:
【计算机英语】What we could do instead is mock each of the Repositories,to test out...
What we could do instead is mock each of the Repositories,to test out the cooperation with the Entities,Repositories,and consumer.This is pretty cheaply done,and it's also a good way of testing out the consumer and the Entities.
Repositories 不用翻译
Entities 不用翻译
consumer 不用翻译
“相反” ,是怎么翻译出来的呢?
答
【看来这是在谈Object-Oriented开发.Repositories、Entities、Repositories、consumer都是类.】 (否决了前面省略的建议后)相反地,我们可以虚拟每个Repositories,以测试其与Entities、 Repositories及consumer协同.做这(虚拟和测试)很便宜.而且也是测试consumer 和Entities的好方法.