Code is trivial or so short that you only need to test the branch of code generating the exception.

 
  • 代码不太重要或非常短,只需对产生异常的代码分支进行测试。
今日热词
目录 附录 查词历史