Menu

#14 Add ExtensionPoint to contribute JUnitResultFormatter

open
nobody
None
5
2009-02-02
2009-02-02
No

Hi,

org.pluginbuilder.autotestsuite.application may offer an EP to allows contributors to overwrite the JUnitResultFormatter used in PB for reporting (currently XMLJUnitResultFormatter). The attached patch defines an EP that takes a class name and a priority (XMLJUnitResultFormatter is the default with prio 0).
The patch is limited to JUnit3.

Discussion

  • Markus Alexander Kuppe

    patch adding described functionality

     
  • Markus Alexander Kuppe

    • summary: Add ExtensionPoint to contribute custo JUnitResultFormatter --> Add ExtensionPoint to contribute JUnitResultFormatter
     
  • Nobody/Anonymous

    This would be a nice feature, but the current formatted tests report is also lacking:

    * The plugin name links do not work - clicking them should take you to the header for those tests further down the page (using a named anchor)
    * The page can get very large (for hundreds of tests). It would be better if there was a frame containing the test plugin names, just like JavaDoc output.

     
  • Markus Alexander Kuppe

    Have you tried JUnitReport Task [1] to generate HTML reports from PluginBuilder's XML files already?

    [1] http://ant.apache.org/manual/OptionalTasks/junitreport.html

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.