Skip to content

More thorough tests #285

Open
Open

Description

@dpvc

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.

Activity

  1. pkra commented on Jul 12, 2017

    @pkra
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions