wasi-master / rich-rst

A reStructuredText renderer for rich
https://rich-rst.readthedocs.io/en/latest/
MIT License
13 stars 3 forks source link

initial unit testing infrastructure #11

Closed BrianPugh closed 4 months ago

BrianPugh commented 4 months ago

Adds a basic unit/integration testing infrastructure:

The current test vectors are copied from the demo/ folder may have errors, but it's (probably) a good starting point to make future changes to the repo. They sort of serve as a generic, large-coverage "integration" test. If a code-change produces visually different outputs, hopefully it results in a small diff in the tests/test_vectors/ that is easy to grok in a PR. It would be good in the future to add additional rst files that test individual components, like "bullet points" or "code-block", etc.

wasi-master commented 4 months ago

Thanks for this. My PC is currently out of service so I'll be able to merge and publish it in a few days

BrianPugh commented 4 months ago

Hey @wasi-master ! Just a gentle reminder about these. Thanks again!

BrianPugh commented 4 months ago

👀

wasi-master commented 4 months ago

@BrianPugh Released with version https://github.com/wasi-master/rich-rst/releases/tag/v1.3.0 also available on pypi. Many thanks for this 💖