We have tried to write unit tests for our fixtures in the past and had the same idea for our step classes as well. Driving the java code with unit tests seems to be a good idea to me. The unit tests still help drive a good design and allow for refactoring safely. The fixture and step code should be continually refactored as the application changes and therefore the acceptance tests change. I have to admit that I am not as consistent at this as I think I should be.
For the most part I think the step classes should be very small and use a set of services from the application. The support classes should definitely be unit tested. Supporting classes such as PropertyEditors and other support classes will help keep the step class code small and they should be tested and probably moved to the production code many times. They should be reusable especially in view of the application. But even if they remain as part of the test only they should be driven by unit testing.
wes
To unsubscribe from this group, send email to givwenzen_user+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.