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

Getting Started with EasyMock 4

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

Dependencies between application classes make it difficult to write unit tests. EasyMock enables you to focus on the unit-under-test by using mocks. You’ll gain full control over the behavior of dependencies and enhance your unit testing skills.


1. Course Overview
  • 1. Course Overview

  • 2. Getting Started with EasyMock
  • 1. Version Check
  • 2. Introduction
  • 3. Writing a Test without Mocks
  • 4. What Is Mocking and Why Use It
  • 5. Adding Mocks to the Test
  • 6. Test Doubles
  • 7. Advanced Mocking Concepts
  • 8. Summary

  • 3. Configuring Behavior of Mocks
  • 1. Introduction
  • 2. Configuring Your First Mocked Methods
  • 3. Using EasyMock Annotations
  • 4. Chaining Multiple Mocks in a Single Test
  • 5. Extending the AccountOpeningService
  • 6. Argument Matchers
  • 7. Configuring Exception Throwing on Mocks
  • 8. Configuring Void Mocked Methods
  • 9. Recap and Summary

  • 4. Verifying What Methods Are Called Using EasyMock
  • 1. Introduction
  • 2. Verifying Mocks
  • 3. Relaxing Expected Method Call Counts
  • 4. Verifying the Unexpected
  • 5. Method Stubbing without Verification
  • 6. Verifying the Order of Method Calls
  • 7. Summary

  • 5. Advanced Topics
  • 1. Introduction
  • 2. Testing Code That Deals with Time - Understanding the Challenge
  • 3. Testing Code That Deals with Time - Solving the Puzzle
  • 4. Using the EasyMockSupport Class
  • 5. Partial Mocks
  • 6. Final Methods and Summary
  • 45,900 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

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

    ایمیل شما:
    تولید کننده:
    شناسه: 16540
    حجم: 301 مگابایت
    مدت زمان: 113 دقیقه
    تاریخ انتشار: 29 تیر 1402
    طراحی سایت و خدمات سئو

    45,900 تومان
    افزودن به سبد خرید