chore/add test coverage restrictions #204
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/config/JwtConfigTest.java#L7
[testtool] reported by reviewdog 🐶
Import statement for 'org.junit.jupiter.api.Assertions.*' 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/config/JwtConfigTest.java:7:1: warning: Import statement for 'org.junit.jupiter.api.Assertions.*' 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/config/JwtConfigTest.java#L7
[testtool] reported by reviewdog 🐶
Using the '.*' form of import should be avoided - org.junit.jupiter.api.Assertions.*.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java:7:47: warning: Using the '.*' form of import should be avoided - org.junit.jupiter.api.Assertions.*. (com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java#L12
[testtool] reported by reviewdog 🐶
'member def modifier' has incorrect indentation level 4, expected level should be 2.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java:12:5: warning: 'member def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java#L15
[testtool] reported by reviewdog 🐶
'method def modifier' has incorrect indentation level 4, expected level should be 2.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java:15:5: warning: 'method def modifier' has incorrect indentation level 4, expected level should be 2. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
|
build:
backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java#L17
[testtool] reported by reviewdog 🐶
'method def' child has incorrect indentation level 8, expected level should be 4.
Raw Output:
/github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/config/JwtConfigTest.java:17:9: warning: 'method def' child has incorrect indentation level 8, expected level should be 4. (com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck)
|