-
Notifications
You must be signed in to change notification settings - Fork 75
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
Migrate tests in org.eclipse.test.performance to JUnit 5 #1454
Migrate tests in org.eclipse.test.performance to JUnit 5 #1454
Conversation
The tests in org.eclipse.tests.performance are still written in JUnit 3, i.e., the test classes extend TestCase. * Migrates tests and test suite to JUnit 5. * Adds the missing SimplePerformanceMeterTest to the according test suite
befb9b9
to
f1a0ec2
Compare
If you're trying to run the Suite using Tycho, see: |
Thanks for the pointer, @Phillipus! I was not aware that |
Its nice to see some modernization of the tests. |
Yes, I have checked that in the platform and JDT projects no subclasses of those I have changed exist. But since the tests are placed in and exported from an ordinary plug-in that is part of the Eclipse test framework feature, they might be used/extended anyway. So taking semantic versioning serious, these changes would actually require a major version bump of the plug-in. On the other hand, I cannot image that anyone extends such specific test classes. |
Thanks for checking.
Theoretically that would be possible, but I assume that a Performance-Test-Plugin is not referenced by any 'production' Plugin. Maybe somebody external uses it as base for own tests, but in that case tests can be adjusted. |
Performance test plugins are not referenced by anything in the SDK AFAIK. |
Let's merge as the change is good from my POV. |
Thanks, @HannesWell and @akurtakov! |
The tests in
org.eclipse.tests.performance
are still written in JUnit 3, i.e., the test classes extendTestCase
.This change
SimplePerformanceMeterTest
to the according test suite.Note that these tests are not automatically executed at all, as they are neither part of a test plug-in nor does the plug-in seem to be configured to execute the tests via surefire or some ant script. But they run well when started from within the IDE. Making them executed in a CI build may be a follow-up task.