Skip to content

Testing Improvements #45

@iMobs

Description

@iMobs

As it currently is, the tests for cJSON only attempts to use some of the functions and prints out the results. Not all of the functions appear to be covered and unless the user knows exactly how the result should look, there's no verification that it is correct. At the very least I think that there should be a strcmp run against the output to assert that everything matches. Going further, maybe a unit testing framework should be incorporated to be more thorough.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions