in reply to System testing a WWW transaction application
Uh oh. Four years into an applications lifecycle is a bit late to discover system testing. Are there unit tests for subsystems, or are you trying to avoid having to restructure the code to make unit tests work?
My preference is to start with unit testing each subsystem, using mock objects as necessary to isolate subsystems from each other. If you wait until everything is assembled until trying to test, the tests are harder to write, since they have to set up and tear down a known environment (e.g., resetting the database configuration to a fixed starting point).
chromatic has a good article on using mock objects to test. See A Test::MockObject Illustrated Example.
Can you say more about the reluctance to build "hooks" into the existing code?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: System testing a WWW transaction application
by dragonchild (Archbishop) on Jul 21, 2002 at 01:41 UTC | |
|
Re: Re: System testing a WWW transaction application
by IlyaM (Parson) on Jul 24, 2002 at 12:10 UTC | |
by dws (Chancellor) on Jul 24, 2002 at 16:12 UTC | |
by IlyaM (Parson) on Jul 24, 2002 at 16:43 UTC |