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

test codeの作成(proto dataStore) #16

Open
LeoAndo opened this issue Feb 20, 2022 · 1 comment · Fixed by #17
Open

test codeの作成(proto dataStore) #16

LeoAndo opened this issue Feb 20, 2022 · 1 comment · Fixed by #17

Comments

@LeoAndo
Copy link
Owner

LeoAndo commented Feb 20, 2022

DataStore インタフェースを実装したクラスのテストコードを書く!

Android SDKに依存するので、 androidTestにテストコードを書く

@LeoAndo
Copy link
Owner Author

LeoAndo commented Feb 20, 2022

トラブルシューティング

testcode作成中に

Kotlin/kotlinx.coroutines#1204 (comment)
Kotlin/kotlinx.coroutines#1222 (comment)
と同じ問題に遭遇した。

Kotlin/kotlinx.coroutines#1206 (comment)
-> マルチスレッドでのCorotineテストをサポートするには再設計を行う必要があり対応に時間がかかるとのこと

以下のタスクを監視していればOk!
https://github.com/Kotlin/kotlinx.coroutines/issues?q=is%3Aissue+is%3Aopen+label%3Atest

https://github.com/qwwdfsad
https://github.com/objcode
上記2人のやりとりを見ていれば良さそう。

@LeoAndo LeoAndo changed the title test codeの作成 test codeの作成(proto dataStore) Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant