-
Notifications
You must be signed in to change notification settings - Fork 9
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 to JUnit 5 - Jenkins #51 #589
base: main
Are you sure you want to change the base?
Conversation
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Tasktop Technologies - initial API and implementation | ||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh!
@@ -11,6 +11,7 @@ | |||
* Tasktop Technologies - improvements | |||
* Eike Stepper - improvements for bug 323759 | |||
* Benjamin Muskalla - 323920: [build] config retrival fails for jobs with whitespaces | |||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
@@ -16,7 +16,11 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="0.0.0", | |||
org.eclipse.search;bundle-version="0.0.0", | |||
org.eclipse.ui;bundle-version="0.0.0", | |||
org.eclipse.ui.workbench.texteditor;bundle-version="0.0.0", | |||
org.junit;bundle-version="4.8.2" | |||
junit-jupiter-api;bundle-version="5.10.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend to prefer "Import-Package" for 3rd party libs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
I wasn't sure about that so I just followed what was done with JUnit 4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I tried "importing" and had to add the libraries to the .target file with older versions. So I don't know what is the best solution?
I'm still trying to figure out how all this works.
What are the pros and cons of using the versions made available implicitly vs the ones from the orbit/drop/??? sites
@@ -8,6 +8,7 @@ | |||
* SPDX-License-Identifier: EPL-2.0 | |||
* | |||
* Tasktop Technologies - initial API and implementation | |||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Tasktop Technologies - initial API and implementation | ||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
@@ -10,14 +10,17 @@ | |||
* Tasktop Technologies - initial API and implementation | |||
* Guy Perron - add Windows support | |||
* ArSysOp - ongoing support | |||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Tasktop Technologies - initial API and implementation | ||
* ArSysOp - ongoing support | ||
* See git histpry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
history
import org.eclipse.mylyn.jenkins.tests.support.JenkinsFixture; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class SuiteSetup { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need instead a JUnit 5 Extensions or some other new feature so that we can support multible fixtures
1a4e301
to
ac49fb9
Compare
Proof of Concept replacing JUnit 4 with JUnit 5
Convert Jenkins unit tests
Conditionally re-enable the CI runs if a CI server can be reached. CI server setup using the multipass scrips created by @BeckerFrank
Task-Url: #51