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 TestNG to JUnit migration module [DRAFT] #507

Draft
wants to merge 115 commits into
base: master
Choose a base branch
from

Conversation

oxkitsune
Copy link
Contributor

DRAFT

@rickie rickie changed the title TestNG to JUnit migrator DRAFT TestNG to JUnit migrator [DRAFT] Feb 23, 2023
@rickie rickie changed the title TestNG to JUnit migrator [DRAFT] Introduce TestNG to JUnit module [DRAFT] Feb 23, 2023
@rickie rickie changed the title Introduce TestNG to JUnit module [DRAFT] Introduce TestNG to JUnit migration module [DRAFT] Feb 23, 2023
@github-actions
Copy link

  • Surviving mutants in this change: 34
  • Killed mutants in this change: 204
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 11 36
🧟tech.picnic.errorprone.bugpatterns.AnnotationAttributeReplacement 5 58
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 17
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@oxkitsune oxkitsune self-assigned this Feb 23, 2023
Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

SOme comments :D

@github-actions
Copy link

  • Surviving mutants in this change: 29
  • Killed mutants in this change: 146
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 11 36
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 17
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

2 similar comments
@github-actions
Copy link

  • Surviving mutants in this change: 29
  • Killed mutants in this change: 146
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 11 36
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 17
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 29
  • Killed mutants in this change: 146
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 11 36
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 17
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 29
  • Killed mutants in this change: 144
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 11 36
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 28
  • Killed mutants in this change: 141
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

1 similar comment
@github-actions
Copy link

  • Surviving mutants in this change: 28
  • Killed mutants in this change: 141
class surviving killed
🧟tech.picnic.errorprone.testngjunit.migrators.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.migrators.argument.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.migrators.argument.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.migrators.argument.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 28
  • Killed mutants in this change: 141
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 28
  • Killed mutants in this change: 141
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

1 similar comment
@github-actions
Copy link

  • Surviving mutants in this change: 28
  • Killed mutants in this change: 141
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 4 13
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 16
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

github-actions bot commented Mar 6, 2023

  • Surviving mutants in this change: 30
  • Killed mutants in this change: 158
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 5 15
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 32
  • Killed mutants in this change: 164
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 5 15
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 2 6
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 33
  • Killed mutants in this change: 165
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 5 19
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 2 6
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 31
  • Killed mutants in this change: 167
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 34
  • Killed mutants in this change: 179
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 3 12
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 35
  • Killed mutants in this change: 187
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 4 20
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 32
  • Killed mutants in this change: 189
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 1 22
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 40
  • Killed mutants in this change: 190
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.SourceCode 8 1
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 1 22
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 37
  • Killed mutants in this change: 193
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.SourceCode 5 4
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 1 22
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@github-actions
Copy link

  • Surviving mutants in this change: 38
  • Killed mutants in this change: 201
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.SourceCode 5 4
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 2 11
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 1 22
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

1 similar comment
@github-actions
Copy link

  • Surviving mutants in this change: 38
  • Killed mutants in this change: 201
class surviving killed
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 10 33
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 6 16
🧟tech.picnic.errorprone.testngjunit.SourceCode 5 4
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsArgumentMigrator 4 21
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 19
🧟tech.picnic.errorprone.testngjunit.DataProviderArgumentMigrator 3 10
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 2 11
🧟tech.picnic.errorprone.testngjunit.DescriptionArgumentMigrator 1 5
🧟tech.picnic.errorprone.testngjunit.GroupsArgumentMigrator 1 22
🧟tech.picnic.errorprone.testngjunit.PriorityArgumentMigrator 1 8
🧟tech.picnic.errorprone.testngjunit.EnabledArgumentMigrator 1 6
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$Builder 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 15
🎉tech.picnic.errorprone.testngjunit.SupportedArgumentKind 0 4

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

Flushing some comments :).


# Use the Maven Wrapper executable if present.
MVN='mvn'
if [ -x ./mvnw ]; then
Copy link
Member

Choose a reason for hiding this comment

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

We don't need to do this. We have this internally but there is a thread where someone mentioned it is not best practice.

echo "Number of JUnit tests run: $junit_results"
echo "Difference: $(expr ${testng_results} - ${junit_results})"

echo "Finished migration steps!"
Copy link
Member

Choose a reason for hiding this comment

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

Will add a few tweaks to the script and strings :).

import org.junit.jupiter.api.Test;

// Should be de-duplicated in the future, for example by depending on `error-prone-contrib`
final class SourceCodeTest {
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, we discussed this offline a few times. Let's drop it because it tests something we do not really use.


final class TestNGMatchersTest {
@Test
void nGAnnotation() {
Copy link
Member

Choose a reason for hiding this comment

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

There is some overlap here, we can combine the tests :). Will push a proposal.

Copy link

  • Surviving mutants in this change: 19
  • Killed mutants in this change: 202
class surviving killed
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 5 17
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 15
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 3 32
🧟tech.picnic.errorprone.testngjunit.GroupsAttributeMigrator 2 21
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 2 11
🧟tech.picnic.errorprone.testngjunit.DataProviderAttributeMigrator 1 8
🧟tech.picnic.errorprone.util.SourceCode 1 2
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsAttributeMigrator 1 20
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.EnabledAttributeMigrator 0 7
🎉tech.picnic.errorprone.testngjunit.TimeOutAttributeMigrator 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestAnnotationAttribute 0 4
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 26
🎉tech.picnic.errorprone.testngjunit.DescriptionAttributeMigrator 0 4
🎉tech.picnic.errorprone.testngjunit.PriorityAttributeMigrator 0 8
🎉tech.picnic.errorprone.testngjunit.UnsupportedAttributeMigrator 0 2

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link

sonarcloud bot commented May 14, 2024

Copy link

  • Surviving mutants in this change: 19
  • Killed mutants in this change: 202
class surviving killed
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 5 17
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 15
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 3 32
🧟tech.picnic.errorprone.testngjunit.GroupsAttributeMigrator 2 21
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 2 11
🧟tech.picnic.errorprone.testngjunit.DataProviderAttributeMigrator 1 8
🧟tech.picnic.errorprone.util.SourceCode 1 2
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsAttributeMigrator 1 20
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$SetupTeardownType 0 7
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.EnabledAttributeMigrator 0 7
🎉tech.picnic.errorprone.testngjunit.TimeOutAttributeMigrator 0 5
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNGMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestAnnotationAttribute 0 4
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 26
🎉tech.picnic.errorprone.testngjunit.DescriptionAttributeMigrator 0 4
🎉tech.picnic.errorprone.testngjunit.PriorityAttributeMigrator 0 8
🎉tech.picnic.errorprone.testngjunit.UnsupportedAttributeMigrator 0 2

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants