Skip to content

Commit

Permalink
Forbid use of org.junit.After and org.junit.AfterClass
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Apr 20, 2020
1 parent fa9c9bf commit 73daea8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forbid_junit4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

@defaultMessage use JUnit 5 instead
org.junit.runner.RunWith
org.junit.After @ use JUnit 5 org.junit.jupiter.api.AfterEach instead
org.junit.AfterClass @ use JUnit 5 org.junit.jupiter.api.AfterAll instead
org.junit.Before @ use JUnit 5 org.junit.jupiter.api.BeforeEach instead
org.junit.BeforeClass @ use JUnit 5 org.junit.jupiter.api.BeforeAll instead
org.junit.Ignore @ use JUnit 5 org.junit.jupiter.api.Disabled instead
Expand Down

0 comments on commit 73daea8

Please sign in to comment.