Skip to content

Commit ee257bb

Browse files
committed
Rename project to "junit-framework"
(cherry picked from commit 51e17e1)
1 parent 00e0fed commit ee257bb

File tree

59 files changed

+119
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+119
-118
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Ask a question
4-
url: https://github.com/junit-team/junit5/discussions/categories/q-a
4+
url: https://github.com/junit-team/junit-framework/discussions/categories/q-a
55
about: Please ask and answer questions here
66
- name: Ask a question (Stack Overflow)
77
url: https://stackoverflow.com/questions/tagged/junit5

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
---
66

7-
I hereby agree to the terms of the [JUnit Contributor License Agreement](https://github.com/junit-team/junit5/blob/002a0052926ddee57cf90580fa49bc37e5a72427/CONTRIBUTING.md#junit-contributor-license-agreement).
7+
I hereby agree to the terms of the [JUnit Contributor License Agreement](https://github.com/junit-team/junit-framework/blob/002a0052926ddee57cf90580fa49bc37e5a72427/CONTRIBUTING.md#junit-contributor-license-agreement).
88

99
---
1010

1111
### Definition of Done
1212

1313
- [ ] There are no TODOs left in the code
1414
- [ ] Method [preconditions](https://docs.junit.org/snapshot/api/org.junit.platform.commons/org/junit/platform/commons/util/Preconditions.html) are checked and documented in the method's Javadoc
15-
- [ ] [Coding conventions](https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md#coding-conventions) (e.g. for logging) have been followed
16-
- [ ] Change is covered by [automated tests](https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md#tests) including corner cases, errors, and exception handling
17-
- [ ] Public API has [Javadoc](https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md#javadoc) and [`@API` annotations](https://apiguardian-team.github.io/apiguardian/docs/current/api/org/apiguardian/api/API.html)
15+
- [ ] [Coding conventions](https://github.com/junit-team/junit-framework/blob/HEAD/CONTRIBUTING.md#coding-conventions) (e.g. for logging) have been followed
16+
- [ ] Change is covered by [automated tests](https://github.com/junit-team/junit-framework/blob/HEAD/CONTRIBUTING.md#tests) including corner cases, errors, and exception handling
17+
- [ ] Public API has [Javadoc](https://github.com/junit-team/junit-framework/blob/HEAD/CONTRIBUTING.md#javadoc) and [`@API` annotations](https://apiguardian-team.github.io/apiguardian/docs/current/api/org/apiguardian/api/API.html)
1818
- [ ] Change is documented in the [User Guide](https://docs.junit.org/snapshot/user-guide/) and [Release Notes](https://docs.junit.org/snapshot/user-guide/#release-notes)

.github/workflows/gradle-dependency-submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
dependency-submission:
15-
if: github.repository == 'junit-team/junit5'
15+
if: github.repository == 'junit-team/junit-framework'
1616
runs-on: ubuntu-latest
1717
permissions:
1818
contents: write

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
permissions:
7676
attestations: write # required for build provenance attestation
7777
id-token: write # required for build provenance attestation
78-
if: github.event_name == 'push' && github.repository == 'junit-team/junit5' && (startsWith(github.ref, 'refs/heads/releases/') || github.ref == 'refs/heads/main')
78+
if: github.event_name == 'push' && github.repository == 'junit-team/junit-framework' && (startsWith(github.ref, 'refs/heads/releases/') || github.ref == 'refs/heads/main')
7979
steps:
8080
- name: Check out repository
8181
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -125,7 +125,7 @@ jobs:
125125
git config --global user.name "JUnit Team"
126126
git config --global user.email "team@junit.org"
127127
- name: Upload Documentation
128-
if: github.event_name == 'push' && github.repository == 'junit-team/junit5' && github.ref == 'refs/heads/main'
128+
if: github.event_name == 'push' && github.repository == 'junit-team/junit-framework' && github.ref == 'refs/heads/main'
129129
uses: ./.github/actions/run-gradle
130130
with:
131131
encryptionKey: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
fetch-depth: 1
7878
ref: "refs/tags/${{ env.RELEASE_TAG }}"
79-
path: junit5
79+
path: junit-framework
8080
- name: Check out samples repository
8181
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8282
with:
@@ -94,7 +94,7 @@ jobs:
9494
run: java src/Updater.java ${{ inputs.releaseVersion }}
9595
working-directory: junit5-samples
9696
- name: Prepare Maven Central user token
97-
uses: ./junit5/.github/actions/maven-central-user-token
97+
uses: ./junit-framework/.github/actions/maven-central-user-token
9898
with:
9999
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
100100
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
We welcome new contributors to the project!
66
If you're interested, please check for [issues labeled with `up-for-grabs`
7-
that are not yet in progress](https://github.com/junit-team/junit5/issues?q=sort%3Aupdated-desc%20is%3Aissue%20is%3Aopen%20label%3Aup-for-grabs%20-label%3A%22status%3A%20in%20progress%22).
7+
that are not yet in progress](https://github.com/junit-team/junit-framework/issues?q=sort%3Aupdated-desc%20is%3Aissue%20is%3Aopen%20label%3Aup-for-grabs%20-label%3A%22status%3A%20in%20progress%22).
88
Generally, before you work on an issue, post a comment and ask whether it can be started.
99
Please wait for the core team to respond and assign the issue to you before making any code
1010
changes.
@@ -36,7 +36,7 @@ Issue: #999
3636

3737
## Pull Requests
3838

39-
Our [Definition of Done](https://github.com/junit-team/junit5/wiki/Definition-of-Done)
39+
Our [Definition of Done](https://github.com/junit-team/junit-framework/wiki/Definition-of-Done)
4040
(DoD) offers some guidelines on what we expect from a pull request.
4141
Feel free to open a pull request that does not fulfill all criteria, e.g. to discuss
4242
a certain change before polishing it, but please be aware that we will only merge it
@@ -111,7 +111,7 @@ code -- class names, method names, variable names, etc.
111111
- Favor literals (e.g., `{@literal @}`) over HTML entities.
112112
- New classes and methods should declare a `@since ...` tag.
113113
- Use `@since 5.10` instead of `@since 5.10.0`.
114-
- Do not use `@author` tags. Instead, contributors are listed on the [GitHub](https://github.com/junit-team/junit5/graphs/contributors) page.
114+
- Do not use `@author` tags. Instead, contributors are listed on the [GitHub](https://github.com/junit-team/junit-framework/graphs/contributors) page.
115115
- Do not use verbs in third-person form in the first sentence of the Javadoc for a method -- for example, use "Discover tests..." instead of "Discovers tests...".
116116

117117
#### Examples
@@ -140,8 +140,8 @@ See [`ExtensionContext`](junit-jupiter-api/src/main/java/org/junit/jupiter/api/e
140140
### Logging
141141

142142
- In general, logging should be used sparingly.
143-
- All logging must be performed via the internal `Logger` façade provided via the JUnit [LoggerFactory](https://github.com/junit-team/junit5/blob/main/junit-platform-commons/src/main/java/org/junit/platform/commons/logging/LoggerFactory.java).
144-
- Levels defined in JUnit's [Logger](https://github.com/junit-team/junit5/blob/main/junit-platform-commons/src/main/java/org/junit/platform/commons/logging/Logger.java) façade, which delegates to Java Util Logging (JUL) for the actual logging.
143+
- All logging must be performed via the internal `Logger` façade provided via the JUnit [LoggerFactory](https://github.com/junit-team/junit-framework/blob/main/junit-platform-commons/src/main/java/org/junit/platform/commons/logging/LoggerFactory.java).
144+
- Levels defined in JUnit's [Logger](https://github.com/junit-team/junit-framework/blob/main/junit-platform-commons/src/main/java/org/junit/platform/commons/logging/Logger.java) façade, which delegates to Java Util Logging (JUL) for the actual logging.
145145
- _error_ (JUL: `SEVERE`, Log4J: `ERROR`): extra information (in addition to an Exception) about errors that will halt execution
146146
- _warn_ (JUL: `WARNING`, Log4J: `WARN`): potential usage or configuration errors that should not halt execution
147147
- _info_ (JUL: `INFO`, Log4J: `INFO`): information the users might want to know but not by default

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This repository is the home of _JUnit 5_.
1212

1313
## Latest Releases
1414

15-
- General Availability (GA): [JUnit 5.13.1](https://github.com/junit-team/junit5/releases/tag/r5.13.1) (June 7, 2025)
16-
- Preview (Milestone/Release Candidate): [JUnit 5.13.0-RC1](https://github.com/junit-team/junit5/releases/tag/r5.13.0-RC1) (May 16, 2025)
15+
- General Availability (GA): [JUnit 5.13.1](https://github.com/junit-team/junit-framework/releases/tag/r5.13.1) (June 7, 2025)
16+
- Preview (Milestone/Release Candidate): [JUnit 5.13.0-RC1](https://github.com/junit-team/junit-framework/releases/tag/r5.13.0-RC1) (May 16, 2025)
1717

1818
## Documentation
1919

@@ -28,8 +28,8 @@ Contributions to JUnit 5 are both welcomed and appreciated. For specific guideli
2828
regarding contributions, please see [CONTRIBUTING.md] in the root directory of the
2929
project. Those willing to use milestone or SNAPSHOT releases are encouraged
3030
to file feature requests and bug reports using the project's
31-
[issue tracker](https://github.com/junit-team/junit5/issues). Issues marked with an
32-
<a href="https://github.com/junit-team/junit5/issues?q=is%3Aissue+is%3Aopen+label%3Aup-for-grabs">`up-for-grabs`</a>
31+
[issue tracker](https://github.com/junit-team/junit-framework/issues). Issues marked with an
32+
<a href="https://github.com/junit-team/junit-framework/issues?q=is%3Aissue+is%3Aopen+label%3Aup-for-grabs">`up-for-grabs`</a>
3333
label are specifically targeted for community contributions.
3434

3535
## Getting Help
@@ -38,7 +38,7 @@ Ask JUnit 5 related questions on [StackOverflow] or use the Q&A category on [Git
3838

3939
## Continuous Integration Builds
4040

41-
[![CI Status](https://github.com/junit-team/junit5/workflows/CI/badge.svg)](https://github.com/junit-team/junit5/actions) [![Cross-Version Status](https://github.com/junit-team/junit5/workflows/Cross-Version/badge.svg)](https://github.com/junit-team/junit5/actions)
41+
[![CI Status](https://github.com/junit-team/junit-framework/workflows/CI/badge.svg)](https://github.com/junit-team/junit-framework/actions) [![Cross-Version Status](https://github.com/junit-team/junit-framework/workflows/Cross-Version/badge.svg)](https://github.com/junit-team/junit-framework/actions)
4242

4343
Official CI build server for JUnit 5. Used to perform quick checks on submitted pull
4444
requests and for build matrices including the latest released OpenJDK and early access
@@ -92,10 +92,10 @@ Consult the [Dependency Metadata] section of the [User Guide] for a list of all
9292
of the JUnit Platform, JUnit Jupiter, and JUnit Vintage.
9393

9494

95-
[Codecov]: https://codecov.io/gh/junit-team/junit5
96-
[CONTRIBUTING.md]: https://github.com/junit-team/junit5/blob/HEAD/CONTRIBUTING.md
95+
[Codecov]: https://codecov.io/gh/junit-team/junit-framework
96+
[CONTRIBUTING.md]: https://github.com/junit-team/junit-framework/blob/HEAD/CONTRIBUTING.md
9797
[Dependency Metadata]: https://docs.junit.org/current/user-guide/#dependency-metadata
98-
[GitHub Discussions]: https://github.com/junit-team/junit5/discussions/categories/q-a
98+
[GitHub Discussions]: https://github.com/junit-team/junit-framework/discussions/categories/q-a
9999
[Gradle toolchains]: https://docs.gradle.org/current/userguide/toolchains.html
100100
[Gradle Wrapper]: https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:using_wrapper
101101
[JaCoCo]: https://www.eclemma.org/jacoco/

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- [ ] Tag current commit: `git tag -s -m ${VERSION} r${VERSION}`
1212
- [ ] Change `version`, `platformVersion`, and `vintageVersion` properties in `gradle.properties` on release branch to new development versions and commit with message "Back to snapshots for further development" or similar
1313
- [ ] Push release branch and tag to GitHub: `git push --set-upstream --follow-tags origin HEAD`
14-
- [ ] Trigger a [release build](https://github.com/junit-team/junit5/actions/workflows/release.yml): `gh workflow run --ref r${VERSION} -f releaseVersion=${VERSION} -f deploymentId=${DEPLOYMENT_ID} release.yml`
14+
- [ ] Trigger a [release build](https://github.com/junit-team/junit-framework/actions/workflows/release.yml): `gh workflow run --ref r${VERSION} -f releaseVersion=${VERSION} -f deploymentId=${DEPLOYMENT_ID} release.yml`
1515
- Select the release branch
1616
- Enter the version to be released
1717
- Enter the staging repository ID from the output of above Gradle build
@@ -30,7 +30,7 @@
3030
### Feature releases (x.y.0)
3131

3232
- [ ] Fast-forward merge the release branch to `main` and push to GitHub
33-
- [ ] Update the [security policy](https://github.com/junit-team/junit5/blob/main/SECURITY.md) and commit with message "Update security policy to reflect 5.x release" or similar
33+
- [ ] Update the [security policy](https://github.com/junit-team/junit-framework/blob/main/SECURITY.md) and commit with message "Update security policy to reflect 5.x release" or similar
3434
- [ ] Create release notes for the next feature release from the template
3535
- [ ] Update [JBang catalog](https://github.com/junit-team/jbang-catalog/blob/main/jbang-catalog.json)
3636

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Security Policy
22

3-
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9607/badge)](https://www.bestpractices.dev/projects/9607) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/junit-team/junit5/badge)](https://scorecard.dev/viewer/?uri=github.com/junit-team/junit5)
3+
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9607/badge)](https://www.bestpractices.dev/projects/9607) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/junit-team/junit-framework/badge)](https://scorecard.dev/viewer/?uri=github.com/junit-team/junit-framework)
44

55
## JAR Signing
66

@@ -18,5 +18,5 @@ You'll find more information about the key here: [KEYS](./KEYS)
1818

1919
To report a security vulnerability, you have two options:
2020

21-
- [Privately report a vulnerability](https://github.com/junit-team/junit5/security/advisories/new) on GitHub (see [docs](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) for details)
21+
- [Privately report a vulnerability](https://github.com/junit-team/junit-framework/security/advisories/new) on GitHub (see [docs](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) for details)
2222
- Send an email to security@junit.org. You can use the [published OpenPGP key](https://keys.openpgp.org/search?q=security%40junit.org) with fingerprint `0152DA30EABC7ABADCB09D10D9A6B1329D191D25` to encrypt the message body.

documentation/src/docs/asciidoc/link-attributes.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ endif::[]
66
:snapshot-repo: https://central.sonatype.com/service/rest/repository/browse/maven-snapshots
77
// Base Links
88
:junit-team: https://github.com/junit-team
9-
:junit5-repo: {junit-team}/junit5
10-
:current-branch: {junit5-repo}/tree/{release-branch}
9+
:junit-framework-repo: {junit-team}/junit-framework
10+
:current-branch: {junit-framework-repo}/tree/{release-branch}
1111
// Platform Commons
1212
:junit-platform-support-package: {javadoc-root}/org.junit.platform.commons/org/junit/platform/commons/support/package-summary.html[org.junit.platform.commons.support]
1313
:AnnotationSupport: {javadoc-root}/org.junit.platform.commons/org/junit/platform/commons/support/AnnotationSupport.html[AnnotationSupport]
@@ -199,7 +199,7 @@ endif::[]
199199
:ArgumentsAccessor: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/aggregator/ArgumentsAccessor.html[ArgumentsAccessor]
200200
:ArgumentsAggregator: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/aggregator/ArgumentsAggregator.html[ArgumentsAggregator]
201201
:BeforeParameterizedClassInvocation: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/BeforeParameterizedClassInvocation.html[@BeforeParameterizedClassInvocation]
202-
:CsvArgumentsProvider: {junit5-repo}/blob/main/junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider/CsvArgumentsProvider.java[CsvArgumentsProvider]
202+
:CsvArgumentsProvider: {junit-framework-repo}/blob/main/junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider/CsvArgumentsProvider.java[CsvArgumentsProvider]
203203
:EmptySource: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/provider/EmptySource.html[@EmptySource]
204204
:FieldSource: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/provider/FieldSource.html[@FieldSource]
205205
:MethodSource: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/provider/MethodSource.html[@MethodSource]
@@ -209,7 +209,7 @@ endif::[]
209209
:ParameterizedClass: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/ParameterizedClass.html[@ParameterizedClass]
210210
:ParameterizedTest: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/ParameterizedTest.html[@ParameterizedTest]
211211
:ParameterInfo: {javadoc-root}/org.junit.jupiter.params/org/junit/jupiter/params/support/ParameterInfo.html[ParameterInfo]
212-
:ValueArgumentsProvider: {junit5-repo}/blob/main/junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider/ValueArgumentsProvider.java[ValueArgumentsProvider]
212+
:ValueArgumentsProvider: {junit-framework-repo}/blob/main/junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider/ValueArgumentsProvider.java[ValueArgumentsProvider]
213213
// Jupiter Engine
214214
:junit-jupiter-engine: {javadoc-root}/org.junit.jupiter.engine/org/junit/jupiter/engine/package-summary.html[junit-jupiter-engine]
215215
// Jupiter Extension Implementations
@@ -241,7 +241,7 @@ endif::[]
241241
:API: https://apiguardian-team.github.io/apiguardian/docs/current/api/[@API]
242242
:API_Guardian: https://github.com/apiguardian-team/apiguardian[@API Guardian]
243243
:AssertJ: https://assertj.github.io/doc/[AssertJ]
244-
:DiscussionsQA: https://github.com/junit-team/junit5/discussions/categories/q-a[Q&A category on GitHub Discussions]
244+
:DiscussionsQA: https://github.com/junit-team/junit-framework/discussions/categories/q-a[Q&A category on GitHub Discussions]
245245
:Hamcrest: https://hamcrest.org/JavaHamcrest/[Hamcrest]
246246
:Jimfs: https://google.github.io/jimfs/[Jimfs]
247247
:Log4j: https://logging.apache.org/log4j/2.x/[Log4j]

documentation/src/docs/asciidoc/release-notes/release-notes-5.13.0.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
* Bug fixes and other minor improvements
1717

1818
For a complete list of all _closed_ issues and pull requests for this release, consult the
19-
link:{junit5-repo}+/milestone/85?closed=1+[5.13.0-M1],
20-
link:{junit5-repo}+/milestone/92?closed=1+[5.13.0-M2],
21-
link:{junit5-repo}+/milestone/93?closed=1+[5.13.0-M3],
22-
link:{junit5-repo}+/milestone/96?closed=1+[5.13.0-RC1],
23-
and link:{junit5-repo}+/milestone/94?closed=1+[5.13.0] milestone pages in the JUnit
24-
repository on GitHub.
19+
link:{junit-framework-repo}+/milestone/85?closed=1+[5.13.0-M1],
20+
link:{junit-framework-repo}+/milestone/92?closed=1+[5.13.0-M2],
21+
link:{junit-framework-repo}+/milestone/93?closed=1+[5.13.0-M3],
22+
link:{junit-framework-repo}+/milestone/96?closed=1+[5.13.0-RC1],
23+
and link:{junit-framework-repo}+/milestone/94?closed=1+[5.13.0] milestone pages in the
24+
JUnit repository on GitHub.
2525

2626

2727
[[release-notes-5.13.0-overall-improvements]]
@@ -36,7 +36,7 @@ repository on GitHub.
3636
`--initialize-at-build-time` options (introduced in 5.12.0). Please update to the most
3737
recent version of GraalVM Native Build Tools prior to upgrading to this version of
3838
JUnit. Please refer to the
39-
https://github.com/junit-team/junit5/wiki/Upgrading-to-JUnit-5.13[Upgrade Instructions]
39+
https://github.com/junit-team/junit-framework/wiki/Upgrading-to-JUnit-5.13[Upgrade Instructions]
4040
in the wiki for details if you're on NBT 0.10.x or earlier.
4141

4242

0 commit comments

Comments
 (0)