A rewrite of Python's builtin doctest module (with pytest plugin integration) with AST instead of REGEX.
APACHE-2.0 License
Bot releases are visible (Hide)
Full Changelog: https://github.com/Erotemic/xdoctest/compare/v1.1.6...refs/heads/release
Published by github-actions[bot] 3 months ago
flags
as keyword argument to re.sub
for python 3.13 compliance.Full Changelog: https://github.com/Erotemic/xdoctest/compare/v1.1.5...refs/heads/release
Published by github-actions[bot] 5 months ago
This patch release fixes the modname_to_modpath
issue that 1.1.4 mitigated. It should be once again be possible to invoke xdoctest using module names of packages that installed in editable mode (a feature that was broken whenever type annotations were added into the editable finder files installed to site-packages).
xdoctest --version-info
and exposed it in CLI help.modname_to_modpath
fixed in cases where editable installs use type annotations in their MAPPING definition.Full Changelog: https://github.com/Erotemic/xdoctest/compare/v1.1.4...refs/heads/release
Published by github-actions[bot] 5 months ago
modname_to_modpath
issue.Full Changelog: https://github.com/Erotemic/xdoctest/compare/v1.1.3...refs/heads/release
Published by Erotemic 9 months ago
modname_to_modpath
now handles cases where editable packages have modules where the name is different than the package.xdoctest.plugin
to support pytest 8.0ast.Num
Full Changelog: https://github.com/Erotemic/xdoctest/compare/v1.1.2...v1.1.3
Published by Erotemic 12 months ago
Published by Erotemic over 1 year ago
Published by Erotemic about 2 years ago
__editable__
package finder mechanism.Published by Erotemic about 2 years ago
XDOCTEST_VERBOSE
, XDOCTEST_OPTIONS
, XDOCTEST_GLOBAL_EXEC
, XDOCTEST_REPORT
,XDOCTEST_STYLE
, and XDOCTEST_ANALYSIS
environment variables can now be used--insert-skip-directive-above-failures
Published by Erotemic over 2 years ago
tool.xdoctest
. Currently onlyglobal_state
and allowedutil_deprecation
module to robustly mark features as deprecated.*args
and **kwargs
ingoogledoc
Published by Erotemic over 2 years ago
There is nothing too special functionality-wise about this 1.0 release, except that xdoctest has been in a 1.0 state for a long time. It is now widely used, and it deserves to be marked as the mature and stable library that it is.
Published by Erotemic about 3 years ago
--analysis=dynamic
argument is now respectedPublished by Erotemic about 3 years ago
Published by Erotemic about 3 years ago
--xdoctest-verbose=2
by default (note this does-s
is also given so pytest does not supress output)Published by Erotemic about 3 years ago
Yanked - contained debug print statements
Published by Erotemic about 3 years ago
Published by Erotemic over 3 years ago
FixtureRequest