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

Introduce tooling support tests #1431

Merged
merged 7 commits into from
May 27, 2018
Merged

Conversation

sormuras
Copy link
Member

@sormuras sormuras commented May 25, 2018

Overview

Implements #1429 by creating platform-tooling-support-tests project and integrating it as an opt-in build step into the main build process. To activate the tests, pass platform.tooling.support.tests.enabled=true as a system property.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@codecov
Copy link

codecov bot commented May 25, 2018

Codecov Report

Merging #1431 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1431   +/-   ##
=========================================
  Coverage     91.83%   91.83%           
  Complexity     3191     3191           
=========================================
  Files           295      295           
  Lines          7669     7669           
  Branches        652      652           
=========================================
  Hits           7043     7043           
  Misses          463      463           
  Partials        163      163

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a804d4c...1fdcef0. Read the comment docs.

testImplementation(project(':junit-jupiter-api'))

testRuntimeOnly(project(':junit-platform-console-standalone')) {
because 'needed by Ant projects using native junitlauncher task'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be on the test runtime classpath!

How do I declare that platform-tooling-support-tests depends on junit-platform-console-standalone library to be built?


* New integration test sub-project `platform-tooling-support-tests` added. Set system
property `platform.tooling.support.tests.enabled` to `true` to activate it in the
main build process.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually don't include non user facing changes in the release notes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove 'em.

testImplementation('org.junit.jupiter:junit-jupiter-api:5.2.0') {
because 'needed to compile Jupiter tests // TODO use current junit-jupiter-api'
}
testImplementation('org.junit.jupiter:junit-jupiter-api:5.3.0-SNAPSHOT')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should pass the current version from :platform-tooling-support-tests:test to these dependent builds, e.g. by using a system property.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aye. Already almost implemented ... locally.

@marcphilipp marcphilipp added this to the 5.3 M1 milestone May 25, 2018
Enable Gradle 4.7 test only on Java 10 and prevent Jenkins to mark
successful builds as unstable by setting gradle projects buildDir to
'bin' instead of using the default 'build'.
System property 'platform.tooling.support.tests.enabled' must be set to
'true' in order to execute the integration tests.
Run tooling support tests after publishing to local maven repository.
@sormuras sormuras force-pushed the 1429-platform-tooling-support-tests branch from bb439f5 to 7114328 Compare May 26, 2018 05:08
@sormuras sormuras merged commit a54640d into master May 27, 2018
@ghost ghost removed the status: in progress label May 27, 2018
@sormuras sormuras deleted the 1429-platform-tooling-support-tests branch May 27, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants