Skip to content

Commit

Permalink
Migrate before and after methods
Browse files Browse the repository at this point in the history
  • Loading branch information
MBoegers committed Mar 2, 2024
1 parent eff35ab commit a183502
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/resources/META-INF/rewrite/rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,21 @@ recipeList:
- io.guthub.mboegers.openrewrite.testngtojupiter.MigrateTestAnnotation
- io.guthub.mboegers.openrewrite.testngtojupiter.MigrateEnabledArgument
- io.guthub.mboegers.openrewrite.testngtojupiter.MigrateAssertions
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.testng.annotations.BeforeClass
newFullyQualifiedTypeName: org.junit.jupiter.api.BeforeAll
ignoreDefinition: true
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.testng.annotations.AfterClass
newFullyQualifiedTypeName: org.junit.jupiter.api.AfterAll
ignoreDefinition: true
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.testng.annotations.BeforeMethod
newFullyQualifiedTypeName: org.junit.jupiter.api.BeforeEach
ignoreDefinition: true
- org.openrewrite.java.ChangeType:
oldFullyQualifiedTypeName: org.testng.annotations.AfterMethod
newFullyQualifiedTypeName: org.junit.jupiter.api.AfterEach
ignoreDefinition: true

---

0 comments on commit a183502

Please sign in to comment.