我有以下代码(简化)。 public class OrderProcessor
{
public virtual string PlaceOrder(string test)
{
OrderParser orderParser = new OrderParser();
string tester = orderParser.ParseOrder(tes
我刚刚看了这个有趣的YouTube Video about unit testing(这是希特勒的假字幕咀嚼他的团队没有做好单元测试 - 跳过它,如果你幽默受损)存根受到彻底批评。但我不明白存根有什么问题。 我还没有开始使用模拟框架,我还没有开始感觉到不使用它的痛苦。 某个时候我是在一个世界的伤害向下行,having chosen handwritten stubs and fakes inste