Treehouse_Python_Testing

در این آموزش تصویری با تست اپلیکیشن ها در Python آشنا می شوید. در این دوره زبان Python آموزش داده شده و سپس در مورد دو نوع اساسی از تست در پایتون، از جمله doctests و تست واحد می پردازد.

این دوره آموزشی محصول موسسه TreeHouse است.

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

  • Testing چیست؟
  • نوشتن و اجرای Doctests
  • ایجاد یک Doctest
  • معرفی اهداف برنامه
  • نحوه ی تست واحد
  • شروع یک TestCase
  • کار با انواع تست در پایتون
  • معرفی coverage.py
  • و…

عنوان دوره: TreeHouse Python Testing
سطح: متوسط
نویسنده: Kenneth Love

 

توضیحات:

Every project can benefit from testing and Python's testing library is solid, strong, and easy to learn and use. In this course, we'll learn about doctests, Python's unittest library, and the super-handy third-party package coverage.py. Come along and learn to assert yourself!
First Steps With Testing
Testing is often a daunting subject. Let's break down some of the common words and then learn about the two basic types of testing in Python, doctests and unit tests.
Covering Your Bases
Writing tests is great but you still need to know when you've tested enough and when you're missing something important. Coverage.py gives us very useful feedback to judge how effective our testing is.
Be Assertive
Now that we know how to start a TestCase, let's look at some of the assertions that Python provides us with.

1:54
What Is Testing?
12:11
Writing and Running Doctests
1 objective
Create a Doctest
5:41
Your First unittest Test Case
2 objectives
Simple Unit Test

حجم فایل: 77MB