jcabi / jcabi/jcabi-github

OAuthScope.java:41-45: Now all IT cases are annotated with...

Open
#1,299 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

The puzzle `975-0a524603` in [`src/test/java/com/jcabi/github/OAuthScope.java`](https://github.com/jcabi/jcabi-github/blob/master/src/test/java/com/jcabi/github/OAuthScope.java) (lines 41-45) has to be resolved: Now all IT cases are annotated with OAuthScope annotation to marked down its required scopes. A checker needs to be implemented to check if the supplied account can fulfill the IT case requirement before it is run and make the case fail if the required OAuth scopes is not present.

The puzzle was created by super132 on 23-May-15.

Estimate: 30 minutes, role: IMP.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect src/test/java/com/jcabi/github/OAuthScope.java at lines 41-45 and review how the annotated IT cases are run. Implement the scope check before each case so accounts missing required OAuth scopes fail, then remove the puzzle text when the behavior is fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, java
Domain
api, authentication, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.