Tool to verify compatibility of a public APIs [closed]
We don’t allow questions seeking recommendations for开发者_运维知识库 books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionI work on a platform product which requires public compatibility between versions, so some code that was compiled against our previous build should be able to work against our new build without the need to recompile.
Is there a tool that would automated this verification, all I could find was How to test binary compatibility automatically? which seems to be for C++
You could try to use the diff functionality of ApiChange.
This utility takes a set of old assemblies and a set of new assemblies which are diffed for Api changes. The checks include :
- Added/removed types
- Added/removed fields, methods, events (and properties)
Microsoft has released the tool that they use to check breaking changes in their releases; it's called LibCheck.
精彩评论