Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

Thanks Don, I committed your patch.

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

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant