Software Alternatives & Reviews

Reverse engineering Mockito. Part 1. Single use case

Mockito
  1. Mocking framework for unit tests in Java.
    Pricing:
    • Open Source
    So I am building my own little project, which you can read about HERE and I have made the decision to use as few libraries as possible. Now that I am doing some testing I need some mock objects, which means I have to try to recreate Mockito. So this series will be me recreating Mockito the best I can. This post will be about creating a simple single use case implementation that gets our annotation working. It won't be pretty but it will work.

    #Testing #Automated Testing #Browser Testing 14 social mentions

  2. 2
    JUnit is a simple framework to write repeatable tests.
    If you have used Mockito before I am sure you have noticed that we are missing the @ExtendWith() annotation. That is very much intentional, because I first want to talk about JUnit a little.

    #Testing #Developer Tools #Automated Testing 16 social mentions

Discuss: Reverse engineering Mockito. Part 1. Single use case

Log in or Post with