Hi,
I’m running into an issue when trying to import multiple JUnit XML files into a Test Run using the Testiny CLI. Even though there are two (or more) XML files in my reports/junit/
directory, the import command only processes the first file and ignores the rest.
Here’s what I’m using:
files=(reports/junit/*.xml)
junitArgs=()
for f in "${files[@]}"; do
junitArgs+=(--junit "$f")
done
npx @testiny/cli testrun \
--project "$PROJECT_ID" \
--name "$RUN_NAME" \
"${junitArgs[@]}" \
--testcases create \
--enable-nested-folders \
--junit-classname-as-folder nested \
-q -y