Error on test summary


#1

When I try to add test output to my Test Summary I get this error:

“The following errors were encountered parsing test results:
xunit/output-test.xml. ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog”.

Another info:

  • I am using xunit.
  • I see my xml output on Artifacts.

#2

Hi,

I’m getting the exact same error. I am using nunit with a xslt transformation of the test results to junit format.

Did you ever solve this problem?


#3

Hi,
i do have the same problem. Did any of you figure this one out?

thx


#4

Same problem here!


#5

I don’t know what might be affecting everyone in particular here, but I had a similar problem with ruby/rspec. The problem was the command to run the tests was trying to output to a file. Normally, the tests would generate some kind of XML to a file for circle to read.

However, my tests were not just generating XML, but the ascii output that the test created, things like progress indicators, color codes, and meta information. Anyway, I fixed this for rspec by removing --format progress from my test command. Obviously this will be different for each testing program. I found this by running the same command that circle is running and inspecting the output. What you want is pure XML with nothing else around it.


#6