Skip to content

Conversation

CumpsD
Copy link
Contributor

@CumpsD CumpsD commented Jul 6, 2020

This unit test will help protect against breaking changes in the public api.

How does it work? Using PublicApiGenerator it starts off from a well-known state of the API, generates the public contract for the current API and compares the two.

If the public API has been changed, the test will fail and a human is needed to evaluate if the change is breaking or not. This can then be used to determine if the new release number is a major or minor.

The new API surface needs to be updated to make the test succeed again and have a new well-known state.

@darrelmiller darrelmiller merged commit 5d3e699 into microsoft:vnext Jul 12, 2020
@CumpsD CumpsD deleted the public-api branch July 13, 2020 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants