Re: Junit tests, setting up tests without having to create a billion methods



On Wed, 2006-02-15 at 19:42 +0000, Andrew McDonagh wrote:
xyzzy12@xxxxxxxxxxx wrote:
Is there a more dynamic way of setting up tests? We have legacy test
code that we are trying to convert to junit.

I really enjoyed using Fitnesse. A whole different idiom for testing,
but very flexible and accessible to nonprogrammers.

http://fitnesse.org/


Anyway, it sounds like you're working backwards. You've already written
the code you want to test, which is backwards from TDD, which sort of
means JUnit isn't exactly the right tool for what you're doing. Still
it occurs to me that you should be able to automatically generated
wrappers for your legacy tests, and put those into a testsuite, and be
done with the legacy stuff and move forward with JUnit.



.