Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More thorough tests #285

Open
dpvc opened this issue Dec 29, 2016 · 1 comment
Open

More thorough tests #285

dpvc opened this issue Dec 29, 2016 · 1 comment

Comments

@dpvc
Copy link
Member

dpvc commented Dec 29, 2016

When making the changes for PR #284, I had to change the test file for it, and that got me thinking about the tests for mathjax-node. Currently, the tests like this one only check that a particular field is present in the results, but a more thorough test would be to check that exactly the expected fields are present. So if you asked for mmlNode, one would not just check for results.mmlNode, but also that no other values were present in results. What do you think?

I suppose what we really need is a comprehensive test suite that tests the actual features and their expected results. All we have now are tests for specific issues and their fixes.

@pkra
Copy link
Contributor

pkra commented Jul 12, 2017

On a related note, stratifying test titles and filenames is something I've been itching to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants