wjdp / htmltest

:white_check_mark: Test generated HTML for problems
MIT License
323 stars 54 forks source link

htmltest inaccurately reports doc count instead of tested-doc count when docs are ignored #227

Open chalin opened 8 months ago

chalin commented 8 months ago

When HTML documents are ignored, due to the use of IgnoreDirs, htmltest reports the number of documents in the doc store rather than the number of documents actually tested when it finishes a run:

✔✔✔ passed in X.Ys
tested 999 documents

The doc count should be fixed, but also, it might be useful to report both the doc count and tested doc count, something like this:

✔✔✔ passed in X.Ys
tested 111 documents out of 222

/assign @chalin