Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add an architectural test to catch package creation during code review #1696

Merged
merged 2 commits into from
Nov 10, 2017

Conversation

monperrus
Copy link
Collaborator

No description provided.

@Test
public void testSpecPackage() throws Exception {
// contract: when a pull-request introduces a new package, it is made explicit during code review
// when a pull-request introduces a new package, this test fails and the author has to explicitly declare the new package here
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be great to improve CONTRIBUTING.md with this kind of contract, WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just do not make CONTRIBUTING.md too complex, so the new contributors does not have fear to contribute ;-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent point Pavel! I'll make a PR in that direction.

@monperrus
Copy link
Collaborator Author

monperrus commented Nov 9, 2017 via email

@surli surli merged commit fd958af into INRIA:master Nov 10, 2017
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.

3 participants