Udemy

Unit Testing and Test Driven Development in Python

立即報名
  • 21,904 名學生
  • 更新於 1/2019
4.5
(5,149 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
2 小時 3 分鐘
教學語言
英語
授課導師
Richard Wells
評分
4.5
(5,149 個評分)
課程連結
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

Unit Testing and Test Driven Development in Python

Learning the discipline of Test Driven Development (also known as TDD) Using the Python Programming Language

Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code. In this course I'll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.


  • In this course we’ll be going over:

    • What is Unit Testing and Test Driven Development and how does it help you.

    • What is the PyTest testing library and how is it used for writing unit tests in Python.

    • How to setup some common Python development environments to use PyTest.

    • What are Test Doubles and how do you implement and use them with unittest.mock.

    • What are some Best Practices for unit testing and Test Driven Development.

    • We’ll also walk through some hands on example programming sessions using TDD in Python.

課程章節

  • 8 個章節
  • 23 堂課
  • 第 1 章 Introduction
  • 第 2 章 Overview of Unit Testing and Test Driven Development
  • 第 3 章 Setting Up Your Development Environment
  • 第 4 章 Pytest Overview
  • 第 5 章 The Supermarket Checkout Kata
  • 第 6 章 Test Doubles
  • 第 7 章 TDD Best Practices
  • 第 8 章 Conclusion

課程內容

  • How to implement unit tests in python using the discipline of Test Driven Development., How to use test doubles to decouple production code from the rest of the system to be tested in isolation.

評價

  • M
    Marco Frascella
    4.0

    The lecturer shows a code example for almost every concept, which makes explanations easier to follow, the "what" is shown but the "why" is often missing and it feels like reading documentation with no personal addition from the author's experience.

  • A
    Antonino Murador
    4.0

    The course was clear and well explained. As a note, I would like to see code written in compliance with the PEP‑8 coding style in a course that uses Python.

  • K
    Kamakshi Aggarwal
    4.5

    Over all the best course I have been enrolled to

  • C
    Carlos Ariza
    5.0

    Pretty good course, valuable examples, and easy to understand

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意