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

:core:data:allTests fails if tests run by gradle commands. #776

Open
Aniokrait opened this issue Aug 24, 2024 · 3 comments · May be fixed by #797
Open

:core:data:allTests fails if tests run by gradle commands. #776

Aniokrait opened this issue Aug 24, 2024 · 3 comments · May be fixed by #797

Comments

@Aniokrait
Copy link
Contributor

Aniokrait commented Aug 24, 2024

Overview

When running tests by gradle commands ./gradlew allTests, Task :core:data:allTests fails.

スクリーンショット 2024-08-24 21 38 39 スクリーンショット 2024-08-24 21 37 32

When executing the same tests on Android Studio, they pass without problem.

@Yamada-Ika
Copy link
Contributor

I found the solution.
Due to differences in the current working directory depending on the platform, it seems necessary to handle path retrieval differently for each platfrom.

https://speakerdeck.com/ryunen344/okioniai-woip-mete?slide=54

@Yamada-Ika
Copy link
Contributor

I will try to fix.

@Yamada-Ika Yamada-Ika self-assigned this Aug 25, 2024
@Yamada-Ika Yamada-Ika linked a pull request Aug 25, 2024 that will close this issue
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.

3 participants