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

review: test: Migrate support and testing tests to Junit5 #4009

Merged
merged 1 commit into from
Jun 28, 2021
Merged

review: test: Migrate support and testing tests to Junit5 #4009

merged 1 commit into from
Jun 28, 2021

Conversation

Rohitesh-Kumar-Jain
Copy link
Contributor

#3919

While waiting for review on #4005 and #4006, I thought it will be nice to finish up the migration of the spoon.support.

Migration of testing tests is important because I will later work on it in the latter weeks plus, tests in the testing package can't be migrated automatically or by some tool, somebody needs to migrate them manually.

This PR just involves these two types of changes:

  1. changing imports

  2. In Junit5, assertThrows have been introduced so @Test(expected = IndexOutOfBoundsException.class) isn't supported anymore.

Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

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

Very good, no notes.

Will merge once the 24 hour wait period is over :)

@nharrand
Copy link
Collaborator

LGTM!
Thanks for the PR!

@nharrand nharrand merged commit 8f96789 into INRIA:master Jun 28, 2021
@Rohitesh-Kumar-Jain Rohitesh-Kumar-Jain deleted the migrate-support-and-testing-tests-to-junit5 branch June 28, 2021 09:42
@monperrus monperrus mentioned this pull request Aug 19, 2021
woutersmeenk pushed a commit to woutersmeenk/spoon that referenced this pull request Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants