asciidoctor / asciidoctor-doctest

:hammer: Test suite for Asciidoctor backends
MIT License
12 stars 16 forks source link

Possibility to ignore/disable tests #20

Open manuelprinz opened 5 years ago

manuelprinz commented 5 years ago

Not all converters can implement all of the functionality of the Asciidoc(tor) markup. Not providing tests for those is misleading, as they will always be masked as skipped and suggest that they need to implemented. It would be nice to have a feature to mark tests as "unsupported", so that they will not be generated and therefore also not skipped, e.g. .basic-with-title: unsupported.

Additionally (or alternatively), re-using the reference from a different test would be nice, e.g. .basic-with-title -> .basic. This would use the same reference output from the .basic test without the need to duplicate the code. (If a title is not supported in the output format, for example.)

What do you think?