At first you talked about writing tests and then latter you are asking why about configuring. So, its clear and you know that we write test in Java using JUnit or other extensions and then configure the test suite using XML.
Now there are several benefits of configuring a test suite.
- You can use your test suite in continuous integration - You can use your test suite to analyse code coverage - Typically test suites are flexible enough to run a single test. - Sometimes you need different database configuration say, test, prod, dev. It helps configuring these.
Its not at all difficult to configure a test suite. There are lots of tools available for that. [ December 18, 2007: Message edited by: Adeel Ansari ]