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

chore: add spoon-test to check that spoon works on any repo #2724

Open
monperrus opened this issue Oct 27, 2018 · 1 comment
Open

chore: add spoon-test to check that spoon works on any repo #2724

monperrus opened this issue Oct 27, 2018 · 1 comment
Labels

Comments

@monperrus
Copy link
Collaborator

monperrus commented Oct 27, 2018

I propose to add a script spoon-test as follows:

spoon-test https://github.com/google/guava

It would:

  • check that the model can be built without any exception (contract inspired from build.sh)
  • check that the pretty-printed code can be compiled with any exception (contract inspired from build.sh)
  • check that the pretty-printed code passes all the test (contract inspired from build.sh)
  • check all contracts on the model (see review: Generic contracts are run only on **.testclasses.** #2716)

This is basically a rework or extension of build.sh. We may consider a clean Python or Groovy version instead of this Shell monster.

@surli
Copy link
Collaborator

surli commented Oct 27, 2018

We may consider a clean Python or Groovy version instead of this Shell monster.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants