AmerMathSoc / texml-to-html

Converting AmerMathSoc/texml output to raw HTML
Apache License 2.0
3 stars 2 forks source link

evaluate test cases #390

Open pkra opened 2 years ago

pkra commented 2 years ago

Anything we can do to improve things?

pkra commented 1 year ago

Coverage is lacking for:

pkra commented 1 year ago

Two conflicting thoughts:

pkra commented 1 year ago

Not using texml to generate our test files risks diverging unintentionally. However, this hasn't been a major problem in the past.

I'm leaning more towards unit-testing because the tests would be easier to understand (and thus maintain). But that would move us even further from a texml-generated approach because texml is too slow to pre-process each snippet.

I suppose we could keep the snippets for the unit tests separately but the XML would just be full of texml-generated boilerplate.

What I'm hoping will happen: if we refactor to unit tests, we'll find which tests are too interconnected. That'll give us a few more complex test cases which we can then generate with texml.

pkra commented 5 months ago

447 makes me want to find time for this.

pkra commented 3 months ago

Random note: perhaps texml's test files could serve as integration/snapshot tests.