I'm familiar with the use of Parameterized tests in JUnit, e.g:
http://junit.org/apidocs/org/junit/runners/Parameterized.html
but I wondered whether there were any alternative (possibly better) approaches to externally defined test data. I don't really want to hardcode my test data in my source file - I'd prefer to define it in XML or in some sort of other structured manner.
Is there a particular framework, or extension to a framework that provides me with a better solution than the standard JUnit approach. What specifically was the best approach you found to this?
EDIT: I'm familiar with the FIT framework and the use of it in this case, I want to avoid that if possible. If there is a JUnit extension or similar framework that provides a better solution than TestNG then please let me know.