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 for Milestone methods #6

Open
6 tasks
allardbrain opened this issue Apr 29, 2020 · 0 comments
Open
6 tasks

Create tests for Milestone methods #6

allardbrain opened this issue Apr 29, 2020 · 0 comments
Labels

Comments

@allardbrain
Copy link
Owner

These endpoints in the ClubhouseClient class in api.py need to have tests created:

  • create_milestone()
  • delete_milestone()
  • get_milestone()
  • list_milestone_epics()
  • list_milestones()
  • update_milestone()

When tests should fail

  • The request URL did not match the URL for the endpoint
  • The HTTP method in the request did not match what is required by the endpoint
  • Required argument(s) was(were) not provided
  • Argument(s) was(were) not of the right type
  • An integer supplied as an argument is smaller than 1

When tests should succeed

  • The request URL matched the URL for the endpoint
  • The HTTP method in the request matched what is required by the endpoint
  • The required argument(s) was(were) provided
  • Argument(s) was/(were) of the correct type
  • An integer supplied as an argument is equal to or greater than 1
@allardbrain allardbrain added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers cleanup labels Apr 29, 2020
@allardbrain allardbrain added testing and removed enhancement New feature or request cleanup good first issue Good for newcomers help wanted Extra attention is needed labels May 24, 2020
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

1 participant