Re: Tool to create assertions from a running Java application
Malte Finsterwalder <[email protected]> Sat, 1 Feb 2014 23:00:06 +0100
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CALS12-OdCzKMY2besgRkY3BKf3kDQJS_pRbjFKxZT-WVMf3isA@mail.gmail.com> |
Maybe you can check out agitar. They provide a system that does exactly this: Generate tests for existing code. They made a big buzz a few years ago. I look into it very briefly and the generated tests where not that bad. The biggest problem was: They were far too numerous and too detailed. Writing good tests puts emphasis on the important parts that really needs to be tested and ignores exidential details. I never quite understood how a tool like that should be used. I know that Kent Beck was involved into the undertaking, but I think he is no longer. Probably because it didn't quite work out in practice. Greetings, Malte