Alle Optionen
bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: xdoctest  ]

Paket: xdoctest (1.1.3-2)

Links für xdoctest

Screenshot

Debian-Ressourcen:

Quellcode-Paket xdoctest herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Rewrite of Python's builtin doctest module with AST instead of REGEX

What is a doctest? It is example code you write in a docstring! What is a docstring? Its a string you use as a comment! They get attached to Python functions and classes as metadata. They are often used to auto-generate documentation. Why is it cool? Because you can write tests while you code!

The ``xdoctest`` package is a re-write of Python's builtin ``doctest`` module. It replaces the old regex-based parser with a new abstract-syntax-tree based parser (using Python's ``ast`` module). The goal is to make doctests easier to write, simpler to configure, and encourage the pattern of test driven development.

This package contains the xdoctest command line tool

Andere Pakete mit Bezug zu xdoctest

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

xdoctest herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 10,8 kB22,0 kB [Liste der Dateien]