As pointed out by @mzjn the quicktest.py
script is available at https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/tools/quicktest.py
A document tree can also be printed as follows:
from docutils.core import publish_string
print publish_string(rst)
where rst
is a string containing reStructuredText to be processed.