9in-team / Backend_java

구인 구직 사이트 만들기
0 stars 0 forks source link

[백엔드] 모집글 생성하는 API 개발 #6

Closed shinseongsu closed 9 months ago

shinseongsu commented 9 months ago

작업 된 내용

  1. 모집글에는 질문이나, 프로젝트 인원같은 선택적인 부분이 너무 커서 다음에 추가 할 예정
  2. 헥사고날 아키텍처 적용해보았습니다.
  3. 테스트는 인수테스트, 통합테스트를 진행하였습니다.
    • 인수테스트는 restAssured 를 사용하였으며, mock으로는 rest docs를 만들었으며, restAssured는 SpringBootTest를 사용하여 테스트 함.
    • 통합테스트는 일반 인메모리와 페이크 객체를 사용하였습니다.
      • 인메모리는 mock이나 페이크에서 테스트 할 수 없는 nullable 를 테스트 하는데 적합했으며, 페이크함수는 bean을 주입 받는 단계가 없으며, 비교적 빠르게 수행이 가능합니다.

아직 구현되지 않은점.

github-actions[bot] commented 9 months ago

Unit Test Results

6 tests   6 :heavy_check_mark:  2s :stopwatch: 4 suites  0 :zzz: 4 files    0 :x:

Results for commit fb556349.

:recycle: This comment has been updated with latest results.

shinseongsu commented 9 months ago

TODO 이슈가 소나클라우드에 걸렸는데, 소스가 너무 길어 이번에는 Team Project 제목 및 내용만 저장하고 나중에 다른 선택기능도 추가예정입니다.

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud