[Issue 18619] documented unittests extracted by test_extractor should be run by auto-tester

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 15 10:38:29 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18619

--- Comment #3 from greenify <greeenify at gmail.com> ---
(In reply to Timothee Cour from comment #2)
> so if i understand correctly circleci runs the (unextracted) unittests
> blocks (regardless of documented or not) and at the moment nothing (except
> end user on dlang.org) runs the extracted ones; the things that can go wrong
> in 2nd step are cases of documented unittest relying on private symbols, ie
> accessibility issues.
> 
> These should be caught in code reviews as they're not caught automatically.

CircleCi runs `make -f publictest -j4`

This is the extraction and run of the public examples.
The normal testsuite with all unittests is run in all CIs is run on auto-tester
and CircleCi - the latter is needed for reporting the coverage to CodeCov.

There might be bugs in the extraction step, but apart from that it's almost
guaranteed that the examples are runnable via run.dlang.io on dlang.org

--


More information about the Digitalmars-d-bugs mailing list