Erotemic / xdoctest

A rewrite of Python's builtin doctest module (with pytest plugin integration) with AST instead of REGEX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skipped tests are not reported correctly.

Erotemic opened this issue · comments

DoctestExample.run should determine if the test was skipped. Currently we check if a tests was skipped by looking to see if any part was run. However, it allows comments to be counted as valid code.

We need to

  • determine if any real code was run
  • appropriately flag when a test was skipped in the return info
  • handle and report skipped tests in the native runner.

Fixed by #44