chore/add test coverage restrictions #202
Annotations
1 error and 11 warnings
build
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L22
[testtool] reported by reviewdog 🐶
Extra separation in import group before 'java.util.Optional'
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:22:1: warning: Extra separation in import group before 'java.util.Optional' (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L22
[testtool] reported by reviewdog 🐶
Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:22:1: warning: Wrong lexicographical order for 'java.util.Optional' import. Should be before 'org.springframework.security.crypto.password.PasswordEncoder'. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L24
[testtool] reported by reviewdog 🐶
Import statement for 'org.mockito.ArgumentMatchers.any' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:24:1: warning: Import statement for 'org.mockito.ArgumentMatchers.any' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L25
[testtool] reported by reviewdog 🐶
Import statement for 'org.mockito.ArgumentMatchers.anyString' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:25:1: warning: Import statement for 'org.mockito.ArgumentMatchers.anyString' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L26
[testtool] reported by reviewdog 🐶
Import statement for 'org.mockito.Mockito.when' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:26:1: warning: Import statement for 'org.mockito.Mockito.when' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L52
[testtool] reported by reviewdog 🐶
Line is longer than 100 characters (found 128).
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:52:0: warning: Line is longer than 100 characters (found 128). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L66
[testtool] reported by reviewdog 🐶
Line is longer than 100 characters (found 128).
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:66:0: warning: Line is longer than 100 characters (found 128). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L69
[testtool] reported by reviewdog 🐶
Line is longer than 100 characters (found 102).
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:69:0: warning: Line is longer than 100 characters (found 102). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L71
[testtool] reported by reviewdog 🐶
Line is longer than 100 characters (found 106).
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:71:0: warning: Line is longer than 100 characters (found 106). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java#L79
[testtool] reported by reviewdog 🐶
Line is longer than 100 characters (found 105).
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/services/user/UserServiceImplTest.java:79:0: warning: Line is longer than 100 characters (found 105). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
|