Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

DocTest

Vinay Rawal answered on April 2, 2023 Popularity 8/10 Helpfulness 2/10

Contents


More Related Answers

  • What is the correct way to write a doctest?
  • doctest python

  • DocTest

    0

    Doctest is a module that is included in Python’s standard distribution and is used for White-box Unit Testing.

    It searches for interactive python sessions to check if they are working exactly as required.

    It makes use of selective Python capabilities such as docstrings, The Python interactive shell and Python introspection (determining properties of objects at runtime).

    Core Functions:

    Updating docstring

    Performing Regression Testing

    The functions testfile() and testmod() are used to provide basic interface. 

    Popularity 8/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Apr 02 2023
    Vinay Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.