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

Create tests! #4

Open
chattylabs opened this issue Jul 24, 2018 · 1 comment
Open

Create tests! #4

chattylabs opened this issue Jul 24, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@chattylabs
Copy link
Collaborator

Example:
https://github.com/Praqma/gradle-plugin-bootstrap/blob/master/src/test/groovy/com/praqma/demo/greeting/GreetingModuleTest.groovy

@FranRiadigos
Copy link
Collaborator

FranRiadigos commented Jul 31, 2018

I suggest the following tests:

  • Check different scenarios with Git, (research how to emulate/mock git responses)
    • without tags,
    • with non version tags at all,
    • with wrong version tag format
  • Check no internet connection
  • Check not a Git folder repository
  • Check success scenarios
    • commit with patch keyword
    • commits with more than 1 patch keyword
    • commit with minor keyword
    • commits with more than 1 minor keyword
    • commits with mixed minor and patch keyword
    • commits with mixed minor and patch keyword with a 99 version limit

...

@FranRiadigos FranRiadigos added the enhancement New feature or request label Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants