Skip to content

Version 1.0.2

Compare
Choose a tag to compare
@Erotemic Erotemic released this 19 Aug 19:47
· 100 commits to main since this release
38a82eb

Added

  • Environs as options:
    XDOCTEST_VERBOSE, XDOCTEST_OPTIONS, XDOCTEST_GLOBAL_EXEC, XDOCTEST_REPORT,
    XDOCTEST_STYLE, and XDOCTEST_ANALYSIS environment variables can now be used
    to specify configuration defaults.

Changed

  • Added experimental hidden feature --insert-skip-directive-above-failures
    that can be used to modify your code such that failing doctests are marked as
    skip.
  • Disabled traceback suppression on module import errors (this is is
    configurable via the "supress_import_errors" option).
  • Xdoctest will no longer try to pre-import the module if none of its doctests
    have any enabled lines. This also means global-exec statements will NOT run
    for those tests, which means you can no longer use global-exec to
    force enabling tests.