Test
邵钏
For web
展开
-
Manning. JUnit in Action 文摘-1
Chapter 2:Most developers now rely on the automatic TestSuite and rarely create manual suites.TestResult stores the details of all your tests, pass or fail. The TestCalculator program (listing 2.1) in原创 2008-03-21 15:11:00 · 600 阅读 · 0 评论 -
Manning. JUnit in Action 文摘-2
chapter 3:Testing for exceptions:1 Insert a statement that should throw an exception.2 Follow it with a fail statement (in case the exception isn’t thrown).3 Catch the exception you expect, naming the原创 2008-03-21 16:59:00 · 651 阅读 · 0 评论