Use Python Unit Test to Demonstrate TDD

提供方
Coursera Project Network
在此指導項目中,您將:

Create a Python Unit Test Structure and install Pandas.

Create a Python Unit Test for a Sort and Reverse Function using TDD.

Create a Python Unit Test to test a File Access Function to locate a cell in a spreadsheet.

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

By the end of this project, you will use the python unittest package to create an application using test-driven development (TDD). Test Driven Development or TDD involves writing tests before the python application is implemented. Writing the test before implementing the code means the tests should fail when they are executed, which removes the likelihood of a test returning a false positive result. It also is another means of verifying the code specification, especially if the tests are written by a person or group outside of the core development team. Finally, the tests may be executed every time a code modification occurs to keep the code base in check. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培養的技能

  • Python Unit Test
  • Python Programming
  • Python Development
  • Test-Driven Development
  • Python Unit Test Visual Studio Code

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Create a Python Unit Test Structure and install Pandas.

  2. Create a Python Unit Test for a Sort and Reverse Function using TDD.

  3. Use the Python test framework to test the implemented Sort Function.

  4. Create a Python Unit Test to test a File Access Function to locate a cell in a spreadsheet.

  5. Implement the Python File Access Function to locate a cell in a spreadsheet.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心