Hi, I’ve been using my doctests implementation for years now, and it works beautifully for me, so I would like to contribute it — either to guile-lib as (tests doctest) or to guile (maybe (ice-9 doctest)?).
Working code is here: https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests.scm?rev=tip Example usage: ;; https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests-test.scm?rev=tip (define-module (examples doctests-test)) (import (examples doctests)) (define (foo) #((tests ('foo (test-equal "bar" (foo))))) "bar") (define %this-module (current-module)) (define (main args) " Testing doctests" #((tests ('mytest (test-assert #t) (test-assert #f)))) (doctests-testmod %this-module)) How should I go forward to contribute it (and should I)? Best wishes, Arne
signature.asc
Description: PGP signature