• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

reports in html format

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hii
i am able to generate report in xml format.but not able to generate html format.i given code like below

<target name="test-reports-junit" depends="init,cactus" description="Generate junit test reports">
<mkdir dir="${test.dir}/reports/junit" />
<junitreport todir="${test.dir}/reports/junit">
<fileset dir="${test.dir}/reports/junit">
<include name="TEST-*.xml" />
</fileset>
<report format="frames" {test.dir}/reports/junit" />
</junitreport>
</target>

can anybody help me....
swarna
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's what the JUnitReport task does, which you should run after the JUnit task. It reads the XML files and applies stylesheets to them, so that you end up with HTML files.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic