Future of doctest in pytest and its impact on pytest-doctestplus #8088
-
Hello! I have some questions regarding the following excerpt from https://docs.pytest.org/en/stable/doctest.html: The builtin pytest doctest supports only doctest blocks, but if you are looking for more advanced checking over all your documentation, including doctests, The Astropy Project has a pytest-doctestplus plugin that was built on your doctest. Based on comments at scientific-python/pytest-doctestplus#100 (comment) and those that followed, and now the statement above:
Hope you could advise. Thank you very much! cc @Cadair |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @pllim, Thanks for the thoughtful post.
We don't have any thoughts of deprecating it, and plan to keep maintaining it. At the same time, we don't have any plans for large improvements in the future.
We don't work with Sybil developers, we just mentioned it our own docs because seems well supported and a good alternative. I recall it was added based on a suggestion/PR from someone else in the community. The pytest team doesn't make any assurances about the future of Sybil. Having said that, I think we could change the documentation there a bit: I think it would be more appropriate to have a separate section about external doctest support, and mention both Sybil and pytest-doctestplus as alternatives, with the disclaimer that there are no guarantees from the pytest team regarding those projects. Let me know if there's anything else you would like to clarify! |
Beta Was this translation helpful? Give feedback.
Hi @pllim,
Thanks for the thoughtful post.
We don't have any thoughts of deprecating it, and plan to keep maintaining it. At the same time, we don't have any plans for large improvements in the future.
We don't work with Sybil developers, we just mentioned it our own docs because seems well supported and a good alternative. I recall it was added based on a suggestion/PR from someone else in the commu…