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

For #939: Upgrade to Junit 5 #1015

Merged
merged 5 commits into from
Jan 30, 2019
Merged

For #939: Upgrade to Junit 5 #1015

merged 5 commits into from
Jan 30, 2019

Conversation

paulodamaso
Copy link
Contributor

For #939: Upgrade to Junit 5

  • Upgraded dependency to Junit5 in all modules
  • Replaced @Test annotation with Junit5 @Test
  • Replaced @Ignore annotation with Junit5 @Disabled

@0crat 0crat added the scope label Jan 27, 2019
@0crat
Copy link
Collaborator

0crat commented Jan 27, 2019

Job #1015 is now in scope, role is REV

@0crat
Copy link
Collaborator

0crat commented Jan 27, 2019

This pull request #1015 is assigned to @paulodamaso/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @krzyk/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@paulodamaso
Copy link
Contributor Author

@krzyk PLease take a look, 0crat assigned me my own PR

Copy link
Collaborator

@krzyk krzyk left a comment

Choose a reason for hiding this comment

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

@paulodamaso please see my comments

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.1</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@paulodamaso this should be a test scope

pom.xml Outdated
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.1.0</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@paulodamaso 5.3.1

junit4 tags.
-->
<dependency>
<groupId>org.junit.jupiter</groupId>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@paulodamaso you also need to upgrade surefire and failsafe to the newest versions, right now they are taken from jcabi-parent

@@ -59,7 +59,7 @@ public void passesCorrectFilesWithNoExceptions() throws Exception {
* @throws Exception If something wrong happens inside
*/
@Ignore
@Test(expected = ValidationException.class)
@org.junit.Test(expected = ValidationException.class)
Copy link
Collaborator

Choose a reason for hiding this comment

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

@paulodamaso this should be from jupiter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@krzyk I've not changed all tags from Jnit 4, as it would take way more than 30 min. I've left those expected tags to be fixed later in the @todo

Copy link
Contributor Author

@paulodamaso paulodamaso left a comment

Choose a reason for hiding this comment

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

@krzyk Take a look at the comment please

@@ -59,7 +59,7 @@ public void passesCorrectFilesWithNoExceptions() throws Exception {
* @throws Exception If something wrong happens inside
*/
@Ignore
@Test(expected = ValidationException.class)
@org.junit.Test(expected = ValidationException.class)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@krzyk I've not changed all tags from Jnit 4, as it would take way more than 30 min. I've left those expected tags to be fixed later in the @todo

@krzyk
Copy link
Collaborator

krzyk commented Jan 29, 2019

@paulodamaso OK, but the build fails now.

@paulodamaso
Copy link
Contributor Author

@krzyk I'll take a look, thanks

@paulodamaso
Copy link
Contributor Author

@krzyk Please take a look

@krzyk
Copy link
Collaborator

krzyk commented Jan 30, 2019

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 30, 2019

@rultor merge

@krzyk OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit b370a87 into yegor256:master Jan 30, 2019
@rultor
Copy link
Collaborator

rultor commented Jan 30, 2019

@rultor merge

@krzyk Done! FYI, the full log is here (took me 20min)

@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

@ypshenychka/z please review this job completed by @paulodamaso/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat 0crat removed the scope label Jan 30, 2019
@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

The job #1015 is now out of scope

@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @krzyk/z

@ypshenychka
Copy link

@paulodamaso Here again - wrong assignment :) I have to mark it as bad. Ok?

@paulodamaso
Copy link
Contributor Author

paulodamaso commented Jan 30, 2019

@ypshenychka Yeah, please, these self-assigned tasks are bothering me because they take space im my agenda

@paulodamaso paulodamaso deleted the 939 branch January 30, 2019 12:36
@ypshenychka
Copy link

@paulodamaso I believe ARC can reassign it manually. Or we don't have any other REVs here?

@ypshenychka
Copy link

@0crat quality bad

@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

Quality is low, no payment, see §31

@krzyk
Copy link
Collaborator

krzyk commented Jan 30, 2019

@ypshenychka unfortunately there are no REVs her

@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

@0crat quality bad (here)

@ypshenychka The project doesn't have enough funds, can't make a payment

@0crat
Copy link
Collaborator

0crat commented Jan 30, 2019

Quality review completed: +8 point(s) just awarded to @ypshenychka/z

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.

5 participants