Using TDD: “top down” vs. “bottom up”

后端 未结 7 1433
野趣味
野趣味 2021-01-31 18:57

Since I\'m a TDD newbie, I\'m currently developing a tiny C# console application in order to practice (because practice makes perfect, right?). I started by making a simple sket

7条回答
  •  梦谈多话
    2021-01-31 19:25

    If you moved stuff out of main(), could you not test that function?

    It makes sense to do that, since you might want to run with different cmd-args and you'd want to test those.

提交回复
热议问题