-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Java] Update Unit Tests for Vector Module #42002
Comments
@llama90 would you like to contribute a PR? |
Yes, I would. I have a plan to follow these steps:
Additionally, I will review documentation like Migrating from JUnit 4 to JUnit 5. Let me know if you have any suggestions or additional steps. |
Sounds like a plan! Looking forward to it. |
6 tasks
12 tasks
lidavidm
pushed a commit
that referenced
this issue
Jun 7, 2024
### Rationale for this change Update package from JUnit 4(`org.junit`) to JUnit 5(`org.junit.jupiter`). ### What changes are included in this PR? - [x] Replacing `org.junit` with `org.junit.jupiter.api`. - [x] Updating `Assertions.assertXXX` to `assertXXX` using static imports. - [x] Updating annotations such as `@ Before`, `@ BeforeClass`, `@ After`, `@ AfterClass`. - `@ Before` -> `@ BeforeEach` - `@ BeforeClass` -> `@ BeforeAll` - `@ After` -> `@ AfterEach` - `@ AfterClass` -> `@ AfterAll` - `@ Test` -> `@ Test` with `org.junit.jupiter` - [x] Removing unused `@ Rule` Annotation - [x] Updating `Parameterized` test - [x] Doing self review ### Are these changes tested? Yes, existing tests have passed. ### Are there any user-facing changes? No. * GitHub Issue: #42002 Authored-by: Hyunseok Seo <[email protected]> Signed-off-by: David Li <[email protected]>
Issue resolved by pull request 42019 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
This is a sub-issue of the issue below.
org.junit.jupiter.api
#41680The unit tests should use the
org.junit.jupiter.api
package. This issue deals with thevector
module.Component(s)
Java
The text was updated successfully, but these errors were encountered: