Skip to content

v1.3.0

Latest

Choose a tag to compare

@deligoez deligoez released this 26 Feb 14:32

What's New

--update Mode Support

The skill now covers DocTest v1.9.0's --update flag for automatically fixing stale assertions:

  • CLI Options: Added --update / -u flag documentation
  • FIX Mode: New Step 3 — quick fix with --update for stale assertion values, auto-rewrites <!-- doctest: -->, <!-- doctest-json: -->, and // => with actual output
  • Exit Codes: Updated to reflect --update mode behavior
  • Classification Table: Added display output pattern

<!-- doctest-output --> Directive

New display-only output directive — blocks that get refreshed on --update but are never asserted against:

  • Assertion Reference: Added Display Output Directive section with syntax and options (lines=N, tail=N)
  • Classification Table: Added pattern for "output should be shown but not asserted"

Full Changelog: v1.2.0...v1.3.0