Definitely useful and interesting, but let's remember that these are no substitute for manually created unit tests.
Are we using junit or testng? Ian. On 2/28/08, Matthew Toseland <toad at amphibian.dyndns.org> wrote: > On Thursday 28 February 2008 19:50, Alberto Bacchelli wrote: > > Matthew Toseland wrote: > > > How exactly does this work? I presume it assumes that the current code > is > > > correct, and generates a suite of tests to verify that it stays that > way? > > > > > Yes, you are right. This is the target of regression tests. > > There are a few tools that could perform this task (generating > > regression tests from current code), > > but I found that JUnit Factory produces the best results > > Sounds like a good idea. Obviously handwritten unit tests are also a good > idea, but if nobody wants to write them then generated regression tests will > do. Auto-generated regression tests should be clearly marked as such. > -- Email: ian at uprizer.com Cell: +1 512 422 3588 Skype: sanity
