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

C# 10 Unit Testing

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

Unit testing is an essential skill needed to write robust and high-quality code. This course will teach you how to write unit tests with .NET and C# to ensure that your code works as expected.


1. Course Overview
  • 1. Course Overview

  • 2. Writing Your First Unit Test
  • 1. Introduction
  • 2. What Is Unit Testing
  • 3. What You Will Learn in This Course
  • 4. Explore the Starter Project
  • 5. Add a Test Project
  • 6. Write Your First Unit Test
  • 7. Run and Debug the Unit Test
  • 8. Summary

  • 3. Implementing Different Unit Tests
  • 1. Introduction
  • 2. Understand the Parts of a Unit Test
  • 3. Write Another Test to Skip Empty Lines
  • 4. Test for an Exception
  • 5. Assert the Exception Message
  • 6. Test for Another Exception
  • 7. Implement a Data-driven Test
  • 8. Summary

  • 04. Writing Testable Code
  • 01. Introduction
  • 02. Test the MachineDataProcessor
  • 03. Know How to Decouple Dependencies
  • 04. Create an ICoffeeCountStore Interface
  • 05. Implement the Test
  • 06. Write Another Test
  • 07. Run Code before Every Test
  • 08. Run Code after Every Test
  • 09. Test the ConsoleCoffeeCountStore
  • 10. Make the Class Testable
  • 11. Summary

  • 5. Applying Test Driven Development
  • 1. Introduction
  • 2. What Is Test Driven Development (TDD)
  • 3. Understand the Requirement
  • 4. Write a Unit Test
  • 5. Implement the Requirement
  • 6. Refactor the Code
  • 7. Summary

  • 6. Running Unit Tests Automatically
  • 1. Introduction
  • 2. Run Tests with the .NET CLI
  • 3. Push the Code to a Repository on GitHub
  • 4. Run Tests Automatically with a GitHub Action
  • 5. Trigger the Tests with Another Commit
  • 6. Summary
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    افزودن به سبد خرید
    خرید دانلودی فوری

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

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

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