Skip to content

Programming exercises: Add typescript programming language template #60138

Programming exercises: Add typescript programming language template

Programming exercises: Add typescript programming language template #60138

Triggered via pull request October 12, 2024 18:41
@magauppmagaupp
synchronize #9440
Status Success
Total duration 1m 1s
Artifacts

pullrequest-labeler.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

6 errors
de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest ► enforceUsageOfTestRepository(): src/test/java/de/tum/cit/aet/artemis/shared/architecture/module/AbstractModuleRepositoryArchitectureTest.java#L219
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest.xml Error: java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'classes that reside in a package 'de.tum.cit.aet.artemis.exam..' should not use repositories with subclasses, because Test Repositories should be used over production repositories, if such a repository exist.' was violated (2 times):
test#L0
Junit Results ran 8247 in 1176.6989999999992 seconds 0 Errored, 2 Failed, 2 Skipped
enforceUsageOfTestRepository(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exam/architecture/ExamRepositoryArchitectureTest.java#L0
Junit test enforceUsageOfTestRepository() failed java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'classes that reside in a package 'de.tum.cit.aet.artemis.exam..' should not use repositories with subclasses, because Test Repositories should be used over production repositories, if such a repository exist.' was violated (2 times): Test class de.tum.cit.aet.artemis.exam.ExamRegistrationIntegrationTest uses repository de.tum.cit.aet.artemis.exam.repository.StudentExamRepository which has subclasses: [JavaClass{name='de.tum.cit.aet.artemis.exam.test_repository.StudentExamTestRepository'}] Test class de.tum.cit.aet.artemis.exam.service.ExamAccessServiceTest uses repository de.tum.cit.aet.artemis.exercise.repository.ExerciseRepository which has subclasses: [JavaClass{name='de.tum.cit.aet.artemis.exercise.repository.ExerciseTestRepository'}]
resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL: /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseGitlabJenkinsIntegrationTest.java#L0
Junit test resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest ► enforceUsageOfTestRepository(): src/test/java/de/tum/cit/aet/artemis/shared/architecture/module/AbstractModuleRepositoryArchitectureTest.java#L219
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.architecture.ExamRepositoryArchitectureTest.xml Error: java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'classes that reside in a package 'de.tum.cit.aet.artemis.exam..' should not use repositories with subclasses, because Test Repositories should be used over production repositories, if such a repository exist.' was violated (2 times):
de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest ► resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL: src/test/java/de/tum/cit/aet/artemis/programming/util/ProgrammingExerciseTestService.java#L1483
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest.xml Error: org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.