@@ -191,6 +191,7 @@ function write_junit_file(path::AbstractString, junit::Union{JUnitTestSuites,JUn
191191 open (path, " w" ) do io
192192 write_junit_file (io, junit)
193193 end
194+ @debugv 1 " Done writing JUnit XML file to $(repr (path)) "
194195 return nothing
195196end
196197
@@ -201,6 +202,7 @@ function write_junit_file(io::IO, junit::Union{JUnitTestSuites,JUnitTestSuite})
201202end
202203
203204function write_junit_xml (io, junit:: JUnitTestSuites )
205+ @debugv 2 " Writing JUnit XML for testsuites $(junit. name) "
204206 write (io, " \n <testsuites" )
205207 write_counts (io, junit. counts)
206208 write (io, " >" )
@@ -212,6 +214,7 @@ function write_junit_xml(io, junit::JUnitTestSuites)
212214end
213215
214216function write_junit_xml (io, ts:: JUnitTestSuite )
217+ @debugv 2 " Writing JUnit XML for testsuite $(ts. name) "
215218 write (io, " \n <testsuite name=" , xml_markup (ts. name))
216219 write_counts (io, ts. counts)
217220 write (io, " >" )
@@ -258,6 +261,7 @@ function write_dd_tags(io, tc::JUnitTestCase)
258261end
259262
260263function write_junit_xml (io, tc:: JUnitTestCase )
264+ @debugv 2 " Writing JUnit XML for testcase $(tc. name) "
261265 write (io, " \n\t <testcase name=" , xml_markup (tc. name))
262266 write_counts (io, tc. counts)
263267 write (io, " >" )
0 commit comments