وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Getting Started with Mockito 2

سرفصل های دوره

Writing unit tests is difficult if the dependencies between your application classes make it difficult to draw a boundary between what you want to test and the rest of the codebase. Mockito helps you to easily create Java tests by using mock objects.


1. Course Overview
  • 1. Course Overview

  • 2. Introduction to Mockito
  • 01. Version Check
  • 02. Introduction
  • 03. Demo Code Overview
  • 04. Writing a Test without Mocks
  • 05. Installing Mockito and Adding a Mock to the Mockless Test
  • 06. What Is Mocking
  • 07. Why Mock
  • 08. Test Doubles
  • 09. What Is a Unit
  • 10. Mock Classes or Mock Interfaces
  • 11. Summary

  • 3. Configuring Return Values of Mocked Methods
  • 1. Introduction
  • 2. Stubbing Your First Mocked Methods
  • 3. Solidifying the Knowledge Gained so Far
  • 4. Using Argument Matchers
  • 5. Stubbing Methods with Exceptions
  • 6. Summary

  • 4. Verifying That Mocked Methods Behave Accordingly
  • 1. Introduction
  • 2. Verifying Mocks
  • 3. Argument Matchers and Argument Captors
  • 4. Overview

  • 5. Advanced Mocking Techniques
  • 1. Introduction
  • 2. Using Advanced Verification Tools
  • 3. Partial Mocks
  • 4. Testing Code That Deals with Time
  • 5. Final Methods and Selective Partial Mocks
  • 6. Summary

  • 6. Behavior-driven Development (BDD)
  • 1. Introduction
  • 2. Using Behavior Driven Development Aliases
  • 3. Summary
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    افزودن به سبد خرید
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    شناسه: 16541
    حجم: 228 مگابایت
    مدت زمان: 84 دقیقه
    تاریخ انتشار: ۲۹ تیر ۱۴۰۲
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید