-
Notifications
You must be signed in to change notification settings - Fork 29
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
load test resources #65
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good π seems CI is failing for iOS target, not sure if it's related to changes in this PR or random failure. Often rerunning has fixed previous failures for me.
actual fun readBinaryResource(resourcePath: String): ByteArray { | ||
val path = resourcePath.substringBeforeLast(".") | ||
val fileType = resourcePath.substringAfterLast(".") | ||
println("resourcePath=$resourcePath, path=$path, fileType=$fileType") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although it's just test, probably can remove debug print statements in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left it for debugging since it is not due to a flaky CI. It is currently not working for iOS / native.
I read there is another gradle task needed to copy the assets into the build directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean the copy task from the article or a different one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think I haven't added it already.
what is the status of this pr? |
π What does this PR do?
Load test resources per platform. See this blogpost for implementation details: https://developer.squareup.com/blog/kotlin-multiplatform-shared-test-resources/
β Checklist
π§ͺ How can this PR been tested?
π§Ύ Tasks Remaining: (List of tasks remaining to be implemented)
πΌοΈ Screenshots (if applicable):