-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add missing deserialization tests #141
Comments
Unsure if this is the best place or if you want me to open a new issue for this. When I unmarshal:
then I get a:
I need to add: |
@mhausenblas In which context does the error show up exactly? You say unmarshal but the error message seems to indicate that this is happening when you create an application (i.e., send a POST to the Marathon API). If so, how did you initialize your Also, what version of Marathon are you testing against? I think we should address this problem in a new issue. While you could be hitting a case that proper test coverage (the goal of this ticket) may have prevented, the immediate fix should probably be handled separately (and more quickly). |
Thanks @timoreimann and done: #144 |
There's a fairly large discrepancy between the number of fields we populated the test YML file with and the amount of test checks we have. Effectively, this boils down to a lack of test coverage with regards to deserialization. At the same time, we have lots of duplication in the test messages. While this can be reasonable at times, in our case it mostly seems superfluous.
We should attempt to close the coverage gap and simultaneously reduce the amount of spec duplication. Hopefully this can be accomplished by distinguishing better between YML content that pertains to deserialization testing and other that affects code logic testing.
Discovered along #140.
The text was updated successfully, but these errors were encountered: