inigo / daisydiff

Automatically exported from code.google.com/p/daisydiff
0 stars 0 forks source link

New Testing framework should run each directory as a separate test #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Regarding Kostis's test data that Carsten added a test to run, committed at 
http://code.google.com/p/daisydiff/source/detail?r=157
It would be better to run this as multiple tests instead of 1.  I'm new to 
JUnit 4 but standard practice seems to be that you use Parameterized for this.  
And that the standard problem with that is that the test names are all test[0], 
test[1] etc.  That's not great, but it's an improvement.

http://stackoverflow.com/questions/358802/junit-test-with-dynamic-number-of 
discusses using Parameterized
http://stackoverflow.com/questions/650894/change-test-name-of-parameterize 
discusses why this isn't great, and possible solutions (which mostly involve 
adding dependencies on extra projects).

Original issue reported on code.google.com by don.jp.w...@gmail.com on 24 Jun 2011 at 7:41

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Don, I committed your patch.

Original comment by pfeif...@kde.org on 4 Jul 2011 at 12:45