Mockito Features and Best Practices by Kenneth Kousen

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • This session shows the features and optimal ways to generated mocks, stubs, and spies with Mockito. Find out when tools like Mockito are useful and how best to employ them to diagnose issues in your code. Features covered will include creating mocks and stubs, mocking final methods and classes, mocking static methods, and spying on existing classes. It will also cover when NOT to use mocks and stubs, so you don't waste time testing the wrong things.

ความคิดเห็น • 2

  • @ganeshbabu8263
    @ganeshbabu8263 หลายเดือนก่อน

    Great work 👏🏻

  • @RajPatel420
    @RajPatel420 หลายเดือนก่อน

    BTW, in the AstroGateway catch block, how about throwing the IOException as UncheckedIOException rather than RuntimeException