Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

질문 도메인의 API, Service 기능 구현 및 테스트 작성 #4

Merged
merged 19 commits into from
Sep 8, 2024

Conversation

rivkode
Copy link
Member

@rivkode rivkode commented Sep 2, 2024

Todos

  • build.gradle 파일 수정
  • Question 도메인 Layer별 구현
  • Question 도메인 test 작성
  • 브랜치 PR 이벤트시 CI 스크립트 작성

close #3

@rivkode rivkode self-assigned this Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 7de27c4.

Copy link

github-actions bot commented Sep 3, 2024

Test Results

8 tests   8 ✅  1s ⏱️
5 suites  0 💤
5 files    0 ❌

Results for commit aa87ef1.

♻️ This comment has been updated with latest results.

@rivkode rivkode changed the title 질문 도메인의 API, Service 기능 질문 도메인의 API, Service 기능 구현 및 테스트 작성 Sep 3, 2024
${{ runner.os }}-gradle-

# gradle 실행 허가
- name: Run chmod to make gradlew executable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리포지토리에 gradlew파일의 실행권을 주면 좋을 것 같습니다.

java-version: '17'
distribution: 'adopt'

- name: Gradle Caching
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gradle action을 쓰면, 이 부분은 해결이 됩니다.

- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew

- name: 빌드 진행
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 workflow에서는 빌드까지는 할 필요없을 것 같고, 테스트만 잘 되면 될 것 같습니다.

uses: mikepenz/action-junit-report@v3
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

마지막에 새 줄 추가해주세요.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

스트림 모듈을 어떻게 사용할 것인지 궁금합니다.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 파일은 크게 필요는 없을 것 같으니, 빼는게 좋을 것 같아요.


@Service
@RequiredArgsConstructor
public class QuestionFacade {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Facade를 따로 만드는 이유가 있을까요?

group = 'com.family'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다른 PR에서 마지막에 새 줄 하나 추가해주세요.

@rivkode rivkode merged commit 8900544 into main Sep 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

질문 도메인의 API, Service 기능
2 participants