JUnit
Author
Zhou Renjian
Create@
2004-02-22 14:38

JUnit for the test-driven development
本记录所在类别:
- Java - 2004-01-31 23:12
To learn about java ...
本记录相关记录:
- Developers often h… - 2004-02-22 14:43
?Developers often have tests cases in mind, but they realize them in many different ways- print statements, debugger expressions, test scripts. ...
- When you have a c… - 2004-02-22 14:38
When you have a common fixture, here is what you do: Create a subclass of TestCase Create a constructor which accepts a String as a parameter and passes it to the superclass. Add an instance variable ...
- For example, we s… - 2004-02-22 14:12
For example, we switched from the Vector-based implementation of MoneyBag to one based on HashTable. We were able to make the switch very quickly and confidently because we had so many tests to rely o ...
- Martin Fowler make… - 2004-02-22 14:07
Martin Fowler makes this easy for you. He says, "Whenever you are tempted to type something into a print statement or a debugger expression, write it as a test instead." ...
- Every programmer … - 2004-02-22 02:20
Every programmer knows they should write tests for their code. Few do. The Problem Every programmer knows they should write tests for their code. Few do. The universal response to "Why not?" is "I'm i ...
- 如何测试,真的是… - 2004-02-22 01:06
????????如何测试,真的是很重要,就譬如有一个很大的系统,但是你需要调试其中的一个环节,可能搞不好你就需要不厌其烦地load整个大系统,可是你调试的仅仅是一个小小的东西。这样做起来就是效率很低很低,以至于可能无法调试出来。 ????????那我应该如何形成一种调试的设计体系,使得我能够快速地调试自己需要的部分呢?听说JUnit是一个这方面的好东西,还没有空来得及看。会不会先抽点时间出来充电, ...