Home   Info   DevZone   Wiki  
UsersWeb  |  MainWeb  |  InfoWeb  |  DevZoneWeb  |  SupportWeb
TestingGuidelinesProposal ] [ not logged in ] [ Web: Imported ] goto:  options
[ get info on or edit ] login or new user ] [ list of topics, hubs & nodes, or recent changes ]

With OOAD, the requirement for testing decreased a lot. In former times, people would have said "50% coding, 50% testing". Fortunately, these times have passed, and testing now is only a small part of the overall work, and can be fun for some people. For others, it can be a science, your mileage may vary.

The task of testing written code can be quite different, depending on what is tested. Besides human interaction, there are other possibilities:

It is most useful to distribute testing code within __all__ classes, but future installation agents need a way to know where it is, to perform the following actions: So where to put your testing code? Putting it in main() is a problem for app developers since they need main() as entry point. But main() is nice for beans/classes developers since they can run the compiled bytecode directly to test their code. We propose the following scheme for integrating test code within classes, appliable by both developers and future installation agents: -- RalfStephan, 13-Nov-97, please change to your gusto.


Back to TestingGroup




Content of these pages are owned and copyrighted by the poster.
Hosted by: