Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using --out with html does not produce a valid file #1

Open
expxiaoli opened this issue Dec 13, 2012 · 4 comments
Open

Using --out with html does not produce a valid file #1

expxiaoli opened this issue Dec 13, 2012 · 4 comments

Comments

@expxiaoli
Copy link

It has multiple <html> blocks

@grosser
Copy link
Owner

grosser commented Dec 13, 2012

Since this is all parallelized the format options would not work out-of-the-box (all processes would write to the same file -> overwrite each other), and the require option could be fixed by having the require inside of the test.
But if you find a way to fix it with a pull request I'd merge it :)

@brokenthumbs
Copy link

I had the same problem so I went ahead and wrote a fix.
Hopefully you approve of the solution applied :)

#2

@brokenthumbs
Copy link

This should be closed with v0.3. However, if you are using a JUnit or any custom parser that generates .xml, make sure you normalize the xml file so that you do not have two root elements. My solution for this involves splitting the combined file into multiple files again, making several valid xml files to be used in whichever way you want.

@grosser
Copy link
Owner

grosser commented Apr 16, 2013

That could be a very dirty job since they might not be easy to combine, I'll change the title of this issue and leave it for whoever wants the feature / your blog post :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants