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.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心