Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1.0
-
None
Description
If exportJars is true and documentPart type="file" then we fail to get the length of the TDML file because it is inside a jar with the "jar" protocol. This leads to an assertion because the length ends up as -1. The code of interest is here:
We should fix this so that we can get the length of TDML resources in jars and so that the TDML runner can use test files from a jar. Or alternatively, just allow length to be unknown in this case and tests have no limit. That is not as ideal, since it means different behavior depending on jar vs non-jar test files.