Sunday, May 28, 2017

Testing Framework: JUnit, Mockito, JMeter, K6

In this blog we are going to see how we can test with Junit with the help of Mockito for mocking objects.

1. Create Maven project in your eclipse




2. Add dependencies for JUnit and Mockito


3. Now we need to create class



https://springframework.guru/mocking-unit-tests-mockito/

2 comments:

  1. Brilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
    Workday Online Training

    ReplyDelete
  2. Brilliant blog I visit this blog it's incredibly awesome. Curiously, in this blog content formed doubtlessly and sensible. The substance of information is helpful.
    Workday Online Training

    ReplyDelete

System Design Interview : 7 Trade-off for higher level

  Clarify the goal & success metrics Users, workload mix (read/write %, real‑time vs. async), target geos, SLIs (P50/P99, availability)...