Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have a single line here;
this will run everything, and add coverage reporting for everything as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deliberately ran it in two steps because then it is clear from the Travis output log what failed. The output isn't very clear when they are both run together. Also it allowed for coverage testing to be separate.
I did consider adding coverage reporting to the examples, but my experience with testing on other projects has led me to believe that its better to measure test coverage via the most specific unit testing possible, big monolithic examples that cover lots of ground can be very useful to end users and making sure they work can catch some kinds of issues but they don't do a great job at identifying specific expectations of each interface along the way. It's surprising what can slip though as 'working overall' but actually be broken inside. I would rather specific unit tests be the baseline for coverage reporting. Examples should work too (hence adding the to the CI run) but that shouldn't count as really testing the expectations on each function.