Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 753 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 753 Bytes
  • New In JUnit 5

    • Annotations

      • @Nested
      • @RepeatedTest
    • Test Types

      • image.png
  • Difference between JUnit4 and JUnit5

    • image.png
  • Mocking Frameworks

1. Mokito
    - Mock final method using mockito-inline
    - But private method can't be mock
    - No mocks for final or static methods, and for constructors, solution for this problem is using
        -  **Power Mock**

Mockito class Diagram image.png

2. JMockit
3. EassyMock

Mokito Cheat sheet

image.png