1. เรียนรู้
  2. /
  3. Courses
  4. /
  5. Software Engineering Principles in Python

Connected

Exercises

Using pytest

doctest is a great tool, but it's not nearly as powerful as pytest. In this exercise, you'll write tests for your SocialMedia class using the pytest framework.

คำแนะนำ 1 / 2

undefined XP
    1
    2

คำถาม

Before you start writing tests, you need to be working in an appropriately named file for pytest to find your test. Which of the following would be the best, valid name for file containing tests for the SocialMedia class?

คำตอบที่เป็นไปได้