摘要 |
A system and method for automatically determining whether a newer version of an application programming interface (API) is backwards compatible with an older version is disclosed. The method includes comparing the two versions of the API to determine a set of atomic differences between the two versions and applying a set of backwards compatibility rules to the set of atomic differences. For each atomic difference, applying the rules includes analyzing the atomic difference to determine any applicable backwards compatibility rules and evaluating each applicable rule for the atomic difference to determine whether the atomic difference represents a violation. The method also includes storing an indication of any backwards compatibility violations from the evaluation.
|