First pass at adding an itest framework#42
First pass at adding an itest framework#42solarkennedy merged 1 commit intothefactory:masterfrom solarkennedy:itest_framework
Conversation
|
Please consider merging this in, a recent commit broke this module again for our use case: The recent test additions are good, but not as good as if they were automated and run continuously on pull requests to prevent broken code from being uploaded. |
|
I'm sad to say that between this PR and #44 and #38, this package has been unusable for us for Marathon 0.8.2 for a while. To unblock my team, I'm going to fork this repo on the Yelp (https://github.com/Yelp/marathon-python), and add in my own PRs to add the testing frame work that I have queued up, the appid regex fix, and whatever else I need to do upgrade to 0.8.2. (mostly to get passed this zk timeout bug that is in 0.8.1) At any time you would like these changes merged back in, simply pull from our fork or just click the green button below | |
|
Clearly I'm not keeping up with PRs and issues as much as this project deserves. Thankfully, @solarkennedy has generously offered to help out. He has been thusly anointed contributor and Grand Arbiter of PRs. Huge thanks, solarkennedy! |
|
I now have the power! |
First pass at adding an itest framework
Often when working with upgrades and stuff, we see breaking changes with the python bindings as the API changes.
That is fine, but now do we know what to add or when a version bump will be incompatible?
At Yelp we use docker-compose and behave to do our testing, I would like to transplant some of the infrastructure into here so everyone can see together when things break, and how.
If accepted, I'll do a second pass add travis integration, bump the version of marathon we are testing against, and then add more tests besides the trivial one.
(the most recent breakage was having the python bindings list an app that had fancy healthchecks, so I would add a test for that)
cc @ConnorDoyle @mrtyler @EvanKrall
Here is what the output looks like: