jcoglan / jstest

The cross-platform JavaScript test framework
38 stars 3 forks source link

jstest produce invalid XML #9

Open joe-mojo opened 9 years ago

joe-mojo commented 9 years ago

If

Example : is my test description is 'should do so when A & B', the produced XML will contain : <testcase classname="ClassName" name="should do so when A & B" time="0.042" />

It should be : <testcase classname="ClassName" name="should do so when A &amp; B" time="0.042" />

Please escape string inserted in XML with XMl entities !