Enhance your python unit testing using Coverage

제공자:
Coursera Project Network
학습자는 이 안내 프로젝트에서 다음을 수행하게 됩니다.

Use coverage.py to ensure that every bit of your python code is covered by a test

Create test functions for a python class, one method and a time

Cover different aspects of your code and use the cool web interface of coverage.py to monitor your progress

Clock2 hours
Intermediate중급
Cloud다운로드 필요 없음
Video분할 화면 동영상
Comment Dots영어
Laptop데스크톱 전용

In this 1-hour long project-based course, you will learn how to you can use coverage.py to ensure that every bit of your python code is covered by a test - hence the name coverage.py. You will create test functions for a python class, one method and a time. At each step, you will learn how to cover different aspects of your code and use the cool web interface of coverage.py to monitor your progress. 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 Programming
  • Object-Oriented Programming (OOP)
  • Python Testing
  • Coverage measurement

단계별 학습

작업 영역이 있는 분할 화면으로 재생되는 동영상에서 강사는 다음을 단계별로 안내합니다.

  1. Understand the Theatre booking code

  2. Measure coverage for testing class methods

  3. Measure coverage of branching code

  4. Exclude code from coverage

  5. Create static and dynamic measurement contexts

안내형 프로젝트 진행 방식

작업 영역은 브라우저에 바로 로드되는 클라우드 데스크톱으로, 다운로드할 필요가 없습니다.

분할 화면 동영상에서 강사가 프로젝트를 단계별로 안내해 줍니다.

자주 묻는 질문

자주 묻는 질문

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.