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

Feature/dao test #50

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Feature/dao test #50

wants to merge 3 commits into from

Conversation

Guri999
Copy link
Collaborator

@Guri999 Guri999 commented Jan 21, 2025

πŸ“μž‘μ—… λ‚΄μš©

Bookmark DAO μžλ™ν™”

RoomDataBase 생성을 μœ„ν•΄ Contextκ°€ ν•„μš”ν•΄ μ•ˆλ“œλ‘œμ΄λ“œ ν…ŒμŠ€νŠΈλ‘œ μ§„ν–‰ν–ˆμŠ΅λ‹ˆλ‹€

πŸ’¬λ¦¬λ·° μš”κ΅¬μ‚¬ν•­(선택)

μ°Έκ³  λ¬Έμ„œ
이곳을 보고 μ•ˆλ“œλ‘œμ΄λ“œ ν…ŒμŠ€νŠΈκ°€ μ ν•©ν•˜λ‹€ μƒκ°ν–ˆλŠ”λ° κ·Έλƒ₯ kotlin Testλ‘œλ„ κ°€λŠ₯ν• κΉŒμš”? μ•„λ¬΄λž˜λ„ λ””λ°”μ΄μŠ€ ν…ŒμŠ€νŠΈλŠ” λΉŒλ“œμ‹œκ°„μ΄ κΈΈλ‹€λ³΄λ‹ˆ κ·Έλƒ₯ λ””λ°”μ΄μŠ€ λΉŒλ“œμ—†μ΄ ν…ŒμŠ€νŠΈκ°€ κ°€λŠ₯ν•˜λ‹€λ©΄ 쒋지 μ•Šμ„κΉŒ 싢기도 ν•΄μ„œ

보톡 이런 Room μž‘μ—…μ€ μ–΄λ””μ„œ ν…ŒμŠ€νŠΈλ₯Ό μ§„ν–‰ν•˜λ‚˜μš”?

@Guri999 Guri999 self-assigned this Jan 21, 2025
Copy link

Test Results

0 tests   0 βœ…β€ƒβ€ƒ0s ⏱️
0 suites  0 πŸ’€
0 files    0 ❌

Results for commit c63e3f7.

@Guri999 Guri999 requested a review from f-lab-dean January 21, 2025 08:40
@Guri999
Copy link
Collaborator Author

Guri999 commented Jan 21, 2025

μ§€κΈˆ λœ¨λŠ” Git Action ErrorλŠ” 이전 CICD PRμ—μ„œ ν•΄κ²°ν–ˆμŠ΅λ‹ˆλ‹€

Copy link

@f-lab-dean f-lab-dean left a comment

Choose a reason for hiding this comment

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

Robolectricλ₯Ό μ‚¬μš©ν•˜μ—¬ Android Testμ—μ„œ Unit Test둜 λ³€κ²½ν•΄λ³΄μ‹œκΈΈ ꢌμž₯λ“œλ¦½λ‹ˆλ‹€.

@f-lab-dean
Copy link

f-lab-dean commented Jan 21, 2025

πŸ“μž‘μ—… λ‚΄μš©

Bookmark DAO μžλ™ν™”

RoomDataBase 생성을 μœ„ν•΄ Contextκ°€ ν•„μš”ν•΄ μ•ˆλ“œλ‘œμ΄λ“œ ν…ŒμŠ€νŠΈλ‘œ μ§„ν–‰ν–ˆμŠ΅λ‹ˆλ‹€

πŸ’¬λ¦¬λ·° μš”κ΅¬μ‚¬ν•­(선택)

μ°Έκ³  λ¬Έμ„œ 이곳을 보고 μ•ˆλ“œλ‘œμ΄λ“œ ν…ŒμŠ€νŠΈκ°€ μ ν•©ν•˜λ‹€ μƒκ°ν–ˆλŠ”λ° κ·Έλƒ₯ kotlin Testλ‘œλ„ κ°€λŠ₯ν• κΉŒμš”? μ•„λ¬΄λž˜λ„ λ””λ°”μ΄μŠ€ ν…ŒμŠ€νŠΈλŠ” λΉŒλ“œμ‹œκ°„μ΄ κΈΈλ‹€λ³΄λ‹ˆ κ·Έλƒ₯ λ””λ°”μ΄μŠ€ λΉŒλ“œμ—†μ΄ ν…ŒμŠ€νŠΈκ°€ κ°€λŠ₯ν•˜λ‹€λ©΄ 쒋지 μ•Šμ„κΉŒ 싢기도 ν•΄μ„œ

보톡 이런 Room μž‘μ—…μ€ μ–΄λ””μ„œ ν…ŒμŠ€νŠΈλ₯Ό μ§„ν–‰ν•˜λ‚˜μš”?

μ‹€μ œ κΈ°κΈ°μ™€μ˜ μƒν˜Έμž‘μš©μ΄ ν•„μš”ν•˜μ§€ μ•Šκ³  μ½”λ“œλ ˆλ²¨μ—μ„œ(μœ λ‹› ν…ŒμŠ€νŠΈ) ν…ŒμŠ€νŠΈλ₯Ό μ›ν•œλ‹€λ©΄ Robolectricλ₯Ό μ‚¬μš©ν•˜μ—¬ μ•ˆλ“œλ‘œμ΄λ“œ ν”„λ ˆμž„μ›Œν¬μ— μ’…μ†λœ μ½”λ“œλ„ μœ λ‹› ν…ŒμŠ€νŠΈλ‘œ μž‘μ„±ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
https://developer.android.com/training/testing/local-tests/robolectric?hl=ko

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.

2 participants