You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If disableSharding is true then we should skip trying to shard methods. Sharding is currently incompatible with parameterized tests on both Android and iOS.
The following iOS code will then be updated
before:
// Parameterized tests on iOS don't shard correctly.// Avoid changing Xctestrun file when test shards is 1.val generatedXctestrun =if (args.testShards ==1) {
xcTestParsed.toByteArray()
} else {
Xctestrun.rewrite(xcTestParsed, methods)
}
after:
// Parameterized tests on iOS don't shard correctly.// Avoid changing Xctestrun file when test shards is 1.val generatedXctestrun =if (args.disableSharding ==1) {
xcTestParsed.toByteArray()
} else {
Xctestrun.rewrite(xcTestParsed, methods)
}
This will also help on Android where the apk fails to be parsed by dex-test-parser.
The text was updated successfully, but these errors were encountered:
If
disableSharding
is true then we should skip trying to shard methods. Sharding is currently incompatible with parameterized tests on both Android and iOS.The following iOS code will then be updated
before:
after:
This will also help on Android where the apk fails to be parsed by dex-test-parser.
The text was updated successfully, but these errors were encountered: