Development
: Improve git operations performance
#61848
545 passed, 2 failed and 1 skipped
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.assessment.architecture.AssessmentRepositoryArchitectureTest.xml
16 tests were completed in 712ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.assessment.architecture.AssessmentRepositoryArchitectureTest | 16✅ | 712ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.assessment.architecture.AssessmentResourceArchitectureTest.xml
7 tests were completed in 310ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.assessment.architecture.AssessmentResourceArchitectureTest | 7✅ | 310ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.assessment.architecture.AssessmentServiceArchitectureTest.xml
5 tests were completed in 225ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.assessment.architecture.AssessmentServiceArchitectureTest | 5✅ | 225ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.athena.architecture.AthenaRepositoryArchitectureTest.xml
16 tests were completed in 199ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.athena.architecture.AthenaRepositoryArchitectureTest | 16✅ | 199ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.athena.architecture.AthenaResourceArchitectureTest.xml
7 tests were completed in 129ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.athena.architecture.AthenaResourceArchitectureTest | 7✅ | 129ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.athena.architecture.AthenaServiceArchitectureTest.xml
5 tests were completed in 62ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.athena.architecture.AthenaServiceArchitectureTest | 5✅ | 62ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.architecture.AtlasRepositoryArchitectureTest.xml
16 tests were completed in 249ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.atlas.architecture.AtlasRepositoryArchitectureTest | 16✅ | 249ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.architecture.AtlasResourceArchitectureTest.xml
7 tests were completed in 327ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.atlas.architecture.AtlasResourceArchitectureTest | 7✅ | 327ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.architecture.AtlasServiceArchitectureTest.xml
5 tests were completed in 132ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.atlas.architecture.AtlasServiceArchitectureTest | 5✅ | 132ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.atlas.architecture.AtlasTestArchitectureTest.xml
2 tests were completed in 11ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.atlas.architecture.AtlasTestArchitectureTest | 2✅ | 11ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentRepositoryArchitectureTest.xml
16 tests were completed in 142ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentRepositoryArchitectureTest | 16✅ | 142ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentResourceArchitectureTest.xml
7 tests were completed in 139ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentResourceArchitectureTest | 7✅ | 139ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentServiceArchitectureTest.xml
5 tests were completed in 43ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.buildagent.architecture.BuildAgentServiceArchitectureTest | 5✅ | 43ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.architecture.CommunicationRepositoryArchitectureTest.xml
16 tests were completed in 222ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.communication.architecture.CommunicationRepositoryArchitectureTest | 16✅ | 222ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.architecture.CommunicationResourceArchitectureTest.xml
7 tests were completed in 122ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.communication.architecture.CommunicationResourceArchitectureTest | 7✅ | 122ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.architecture.CommunicationServiceArchitectureTest.xml
5 tests were completed in 100ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.communication.architecture.CommunicationServiceArchitectureTest | 5✅ | 100ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest.xml
2 tests were completed in 81ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.communication.notification.NotificationPlaceholderArchitectureTest | 2✅ | 81ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest.xml
16 tests were completed in 300ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.core.architecture.CoreRepositoryArchitectureTest | 16✅ | 300ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.core.architecture.CoreResourceArchitectureTest.xml
7 tests were completed in 146ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.core.architecture.CoreResourceArchitectureTest | 7✅ | 146ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.core.architecture.CoreServiceArchitectureTest.xml
5 tests were completed in 216ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.core.architecture.CoreServiceArchitectureTest | 5✅ | 216ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest.xml
8 tests were completed in 86ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.core.authorization.AuthorizationArchitectureTest | 8✅ | 86ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest.xml
16 tests were completed in 188ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest | 16✅ | 188ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.architecture.ExamResourceArchitectureTest.xml
7 tests were completed in 134ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exam.architecture.ExamResourceArchitectureTest | 7✅ | 134ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.architecture.ExamServiceArchitectureTest.xml
5 tests were completed in 142ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exam.architecture.ExamServiceArchitectureTest | 5✅ | 142ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.architecture.ExerciseRepositoryArchitectureTest.xml
16 tests were completed in 223ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exercise.architecture.ExerciseRepositoryArchitectureTest | 16✅ | 223ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.architecture.ExerciseResourceArchitectureTest.xml
7 tests were completed in 125ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exercise.architecture.ExerciseResourceArchitectureTest | 7✅ | 125ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.exercise.architecture.ExerciseServiceArchitectureTest.xml
5 tests were completed in 130ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.exercise.architecture.ExerciseServiceArchitectureTest | 5✅ | 130ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.architecture.FileUploadRepositoryArchitectureTest.xml
16 tests were completed in 171ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.fileupload.architecture.FileUploadRepositoryArchitectureTest | 16✅ | 171ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.architecture.FileUploadResourceArchitectureTest.xml
7 tests were completed in 106ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.fileupload.architecture.FileUploadResourceArchitectureTest | 7✅ | 106ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.architecture.FileUploadServiceArchitectureTest.xml
5 tests were completed in 53ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.fileupload.architecture.FileUploadServiceArchitectureTest | 5✅ | 53ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.fileupload.architecture.FileUploadTestArchitectureTest.xml
2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.fileupload.architecture.FileUploadTestArchitectureTest | 2✅ | 9ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.architecture.IrisRepositoryArchitectureTest.xml
16 tests were completed in 186ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.iris.architecture.IrisRepositoryArchitectureTest | 16✅ | 186ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.architecture.IrisResourceArchitectureTest.xml
7 tests were completed in 103ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.iris.architecture.IrisResourceArchitectureTest | 7✅ | 103ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.architecture.IrisServiceArchitectureTest.xml
5 tests were completed in 61ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.iris.architecture.IrisServiceArchitectureTest | 5✅ | 61ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lecture.architecture.LectureRepositoryArchitectureTest.xml
16 tests were completed in 273ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lecture.architecture.LectureRepositoryArchitectureTest | 16✅ | 273ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lecture.architecture.LectureResourceArchitectureTest.xml
7 tests were completed in 120ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lecture.architecture.LectureResourceArchitectureTest | 7✅ | 120ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lecture.architecture.LectureServiceArchitectureTest.xml
5 tests were completed in 65ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lecture.architecture.LectureServiceArchitectureTest | 5✅ | 65ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.architecture.LtiRepositoryArchitectureTest.xml
16 tests were completed in 152ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lti.architecture.LtiRepositoryArchitectureTest | 16✅ | 152ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.architecture.LtiResourceArchitectureTest.xml
7 tests were completed in 122ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lti.architecture.LtiResourceArchitectureTest | 7✅ | 122ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.architecture.LtiServiceArchitectureTest.xml
5 tests were completed in 40ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lti.architecture.LtiServiceArchitectureTest | 5✅ | 40ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.lti.architecture.LtiTestArchitectureTest.xml
2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.lti.architecture.LtiTestArchitectureTest | 2✅ | 6ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.architecture.ModelingRepositoryArchitectureTest.xml
16 tests were completed in 145ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.modeling.architecture.ModelingRepositoryArchitectureTest | 16✅ | 145ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.architecture.ModelingResourceArchitectureTest.xml
7 tests were completed in 140ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.modeling.architecture.ModelingResourceArchitectureTest | 7✅ | 140ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.architecture.ModelingServiceArchitectureTest.xml
5 tests were completed in 90ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.modeling.architecture.ModelingServiceArchitectureTest | 5✅ | 90ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismRepositoryArchitectureTest.xml
16 tests were completed in 166ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismRepositoryArchitectureTest | 16✅ | 166ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismResourceArchitectureTest.xml
7 tests were completed in 90ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismResourceArchitectureTest | 7✅ | 90ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismServiceArchitectureTest.xml
5 tests were completed in 39ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.plagiarism.architecture.PlagiarismServiceArchitectureTest | 5✅ | 39ms |
❌ build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingRepositoryArchitectureTest.xml
16 tests were completed in 221ms with 15 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.programming.architecture.ProgrammingRepositoryArchitectureTest | 15✅ | 1❌ | 221ms |
❌ de.tum.cit.aet.artemis.programming.architecture.ProgrammingRepositoryArchitectureTest
✅ testNoEntityGraphsOnQueries()
✅ testNoUnusedRepositoryMethods()
✅ testTransactional()
✅ shouldBeInRepositoryPackage()
✅ testRepositoryParamAnnotation()
✅ orElseThrowShouldNotBeCalled()
✅ repositoriesImplementArtemisJpaRepository()
✅ persistenceShouldNotAccessServices()
❌ usedInProductionCode()
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are declared in classes that are annotated with @Repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
✅ shouldBeAnnotatedRepository()
✅ enforceUsageOfTestRepository()
✅ testJPQLStyle()
✅ shouldBeNamedRepository()
✅ enforceStructureOfTestRepositories()
✅ testOnlySpringTransactionalAnnotation()
✅ enforcePrimaryBeanAnnotationOnTestRepositories()
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingResourceArchitectureTest.xml
7 tests were completed in 99ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.programming.architecture.ProgrammingResourceArchitectureTest | 7✅ | 99ms |
❌ build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingServiceArchitectureTest.xml
5 tests were completed in 230ms with 4 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.programming.architecture.ProgrammingServiceArchitectureTest | 4✅ | 1❌ | 230ms |
❌ de.tum.cit.aet.artemis.programming.architecture.ProgrammingServiceArchitectureTest
❌ testCorrectAsyncCalls()
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are annotated with @Async should not be called within the same class, because Methods annotated with @Async are meant to be executed in a new thread. The thread gets created in a Spring proxy subclass and requires the method to only be called from the outside.' was violated (1 times):
✅ shouldBeNamedService()
✅ testCorrectServiceAnnotation()
✅ shouldBeInServicePackage()
✅ testNoWrongServiceImports()
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingTestArchitectureTest.xml
2 tests were completed in 23ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.programming.architecture.ProgrammingTestArchitectureTest | 2✅ | 23ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.architecture.QuizRepositoryArchitectureTest.xml
16 tests were completed in 146ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.quiz.architecture.QuizRepositoryArchitectureTest | 16✅ | 146ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.architecture.QuizResourceArchitectureTest.xml
7 tests were completed in 103ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.quiz.architecture.QuizResourceArchitectureTest | 7✅ | 103ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.quiz.architecture.QuizServiceArchitectureTest.xml
5 tests were completed in 56ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.quiz.architecture.QuizServiceArchitectureTest | 5✅ | 56ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest.xml
20 tests were completed in 3s with 19 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.shared.architecture.ArchitectureTest | 19✅ | 1⚪ | 3s |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest.xml
2 tests were completed in 262ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.shared.architecture.EnforceRoleInResourceArchitectureTest | 2✅ | 262ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest.xml
2 tests were completed in 365ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.shared.architecture.FeedbackArchitectureTest | 2✅ | 365ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.text.architecture.TextRepositoryArchitectureTest.xml
16 tests were completed in 172ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.text.architecture.TextRepositoryArchitectureTest | 16✅ | 172ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.text.architecture.TextResourceArchitectureTest.xml
7 tests were completed in 122ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.text.architecture.TextResourceArchitectureTest | 7✅ | 122ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.text.architecture.TextServbiceArchitectureTest.xml
5 tests were completed in 37ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.text.architecture.TextServbiceArchitectureTest | 5✅ | 37ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupRepositoryArchitectureTest.xml
16 tests were completed in 137ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupRepositoryArchitectureTest | 16✅ | 137ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupResourceArchitectureTest.xml
7 tests were completed in 125ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupResourceArchitectureTest | 7✅ | 125ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupServiceArchitectureTest.xml
5 tests were completed in 30ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupServiceArchitectureTest | 5✅ | 30ms |
✅ build/test-results/test/TEST-de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupTestArchitectureTest.xml
2 tests were completed in 6ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
de.tum.cit.aet.artemis.tutorialgroup.architecture.TutorialGroupTestArchitectureTest | 2✅ | 6ms |
Annotations
github-actions / Java Architecture Tests
de.tum.cit.aet.artemis.programming.architecture.ProgrammingRepositoryArchitectureTest ► usedInProductionCode()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingRepositoryArchitectureTest.xml
Error:
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are declared in classes that are annotated with @Repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
Raw output
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are declared in classes that are annotated with @Repository and are declared in classes that should be used by production code, because methods that are not used in production code should be moved to test repositories' was violated (1 times):
Method de.tum.cit.aet.artemis.programming.repository.TemplateProgrammingExerciseParticipationRepository.findWithEagerResultsAndSubmissionsByProgrammingExerciseIdElseThrow(long) is not used in production code
at com.tngtech.archunit.lang.ArchRule$Assertions.assertNoViolation(ArchRule.java:94)
at com.tngtech.archunit.lang.ArchRule$Assertions.check(ArchRule.java:86)
at com.tngtech.archunit.lang.ArchRule$Factory$SimpleArchRule.check(ArchRule.java:165)
at de.tum.cit.aet.artemis.shared.architecture.module.AbstractModuleRepositoryArchitectureTest.usedInProductionCode(AbstractModuleRepositoryArchitectureTest.java:215)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / Java Architecture Tests
de.tum.cit.aet.artemis.programming.architecture.ProgrammingServiceArchitectureTest ► testCorrectAsyncCalls()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.architecture.ProgrammingServiceArchitectureTest.xml
Error:
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are annotated with @Async should not be called within the same class, because Methods annotated with @Async are meant to be executed in a new thread. The thread gets created in a Spring proxy subclass and requires the method to only be called from the outside.' was violated (1 times):
Raw output
java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'methods that are declared in classes that reside in a package 'de.tum.cit.aet.artemis.programming..' and are annotated with @Async should not be called within the same class, because Methods annotated with @Async are meant to be executed in a new thread. The thread gets created in a Spring proxy subclass and requires the method to only be called from the outside.' was violated (1 times):
Method de.tum.cit.aet.artemis.programming.service.localvc.VcsAccessLogService.saveVcsAccesslog(de.tum.cit.aet.artemis.programming.domain.VcsAccessLog) should not be called from another Async method (LocalVCServletService.java:897)
at com.tngtech.archunit.lang.ArchRule$Assertions.assertNoViolation(ArchRule.java:94)
at com.tngtech.archunit.lang.ArchRule$Assertions.check(ArchRule.java:86)
at com.tngtech.archunit.lang.ArchRule$Factory$SimpleArchRule.check(ArchRule.java:165)
at de.tum.cit.aet.artemis.shared.architecture.module.AbstractModuleServiceArchitectureTest.testCorrectAsyncCalls(AbstractModuleServiceArchitectureTest.java:90)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)