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

Unit Testing in Scala 3

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

ScalaTest is a well-known choice for testing Scala projects. Write tests to provide evidence that the project works as expected. These tests also serve as a communication and learning tool for other developers and stakeholders in your organization.


1. Course Overview
  • 1. Course Overview

  • 02. Setting up the Project
  • 01. Version Check
  • 02. Agenda
  • 03. Why Testing
  • 04. Why ScalaTest
  • 05. What You Will Learn
  • 06. Course Prerequisites
  • 07. How This Course Is Structured
  • 08. How to Access Project Source Code
  • 09. Overview of Course Project
  • 10. Summary

  • 03. Writing the First Test
  • 01. Agenda
  • 02. What Is a Test
  • 03. Writing the First Test
  • 04. Running the Test Using IntelliJ IDEA
  • 05. Running the Tests Using Scala Command Line
  • 06. Running the Test Using Sbt Command Line
  • 07. Running the Test Using Sbt Console
  • 08. Understanding Testing Styles
  • 09. Understanding FlatSpec Style
  • 10. Understanding the Test Lifecycle
  • 11. Summary

  • 4. Working with Assertions
  • 1. Agenda
  • 2. Understanding Assert in ScalaTest
  • 3. Writing Tests with Assert
  • 4. Writing Tests with AssertResult
  • 5. Writing Tests with AssertThrows
  • 6. Failing the Tests Unconditionally
  • 7. Canceling a Test if PreCondition Not Met
  • 8. Adding Information to Test Failures
  • 9. Summary

  • 05. Performing Expressive Testing Using Matchers
  • 01. Agenda
  • 02. Understanding Matchers
  • 03. Using Matchers to Test Equality
  • 04. Using Matchers to Test Strings
  • 05. Using Matchers to greaterThan or lessThan
  • 06. Creating a Base Test for Unit Tests
  • 07. Using Matchers to Test for Length and Size
  • 08. Using Matchers to Test Container Elements
  • 09. Using Matchers to Test Emptiness Property
  • 10. Using Matchers to Test Exceptions
  • 11. Using Matchers to Test Logical Operations
  • 12. Using Matchers to Test Negative Statement Structure
  • 13. Using Matchers to Test Object Identity
  • 14. Using Matchers to Test Pattern Matching
  • 15. Summary

  • 6. Generating Data through Fixtures and Asynchronous Testing
  • 1. Agenda
  • 2. Understanding Fixtures
  • 3. Working with Fixture Object
  • 4. Working with Fixture Context Object
  • 5. Working with Loan Fixture Method
  • 6. Working with withFixture Method
  • 7. Working with beforeAndAfter
  • 8. Running Your Tests Asynchronously
  • 9. Summary

  • 7. Mocking and Tagging Your Tests
  • 1. Agenda
  • 2. Understanding Mocking
  • 3. Working with Function Mocks
  • 4. Working with Proxy Mocks
  • 5. Working with Expected Call Counts
  • 6. Tagging Your Tests
  • 7. Summary
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

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

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 12920
    حجم: 387 مگابایت
    مدت زمان: 145 دقیقه
    تاریخ انتشار: 20 خرداد 1402
    طراحی سایت و خدمات سئو

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