Skip to content

Add json cpp for tests#25

Merged
mrtazz merged 4 commits intomasterfrom
add-json-cpp-for-tests
Aug 14, 2015
Merged

Add json cpp for tests#25
mrtazz merged 4 commits intomasterfrom
add-json-cpp-for-tests

Conversation

@mrtazz
Copy link
Copy Markdown
Owner

@mrtazz mrtazz commented Aug 14, 2015

this should enable anyone to simply write unit tests that parse the output of httpbin

related to #23

mrtazz added 4 commits August 14, 2015 00:30
this is a checking of the [amalgamated][1] source of the json-cpp parser. It's
a great parser and this way we can just include it in the test build without
having to build another vendor library and dealing with their build system.
This gives us the ability to parse output from httpbin for better unit tests.

[1]: https://github.com/open-source-parsers/jsoncpp#generating-amalgamated-source-and-header
this adds a test case to each suite that uses json-cpp to parse the response
body and make sure we get the correct response back. Now there is an easy to
use example for future tests in each suite.

this fixes #23
mrtazz added a commit that referenced this pull request Aug 14, 2015
@mrtazz mrtazz merged commit e77e81b into master Aug 14, 2015
@mrtazz mrtazz added this to the v0.3.0 milestone Sep 3, 2015
@mrtazz mrtazz deleted the add-json-cpp-for-tests branch September 3, 2015 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant