Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@garrettw it was an API from this site i was accessing. It provides a very minimal amount of documentation and I have to keep track of the changes by going to the site...
I only found out the change after someone reported the break on GitHub -
I have no insight on the situation, but could this be a place that better separation of concerns could have prevented any tests from breaking?
Making where the data is coming from "independent" to the logic of your program allows you to test the logic whether or not an API even exists -
garrettw2648y@dance2die I see. I guess it would have been smart for them to add the API version number into the URI so that you wouldn't get hit with surprise BC breaks.
-
@kyleperik You are right. In a sense my unit tests are not truly unit tests since i am not mocking out external resources.
Related Rants
Arrrrg. API change totally broke my library and 8 out of 149 tests are failing...
undefined
tdd