Changeset 81 for trunk

Show
Ignore:
Timestamp:
01/27/10 08:23:50 (2 years ago)
Author:
mgalloy
Message:

Adding JUnit XML output format.

Location:
trunk/mgunit/src
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mgunit/src/mgunit.pro

    r78 r81  
    1818;    xml : in, optional, type=boolean 
    1919;       set to indicate XML output instead of plain text 
     20;    junit : in, optional, type=boolean 
     21;       set to indicate XML output in JUnit format instead of plain text 
    2022;    gui : in, optional, type=boolean 
    2123;       set to bring up an interactive GUI to run the tests 
     
    2729;       number of tests       
    2830;- 
    29 pro mgunit, tests, filename=filename, html=html, xml=xml, gui=gui, $ 
     31pro mgunit, tests, filename=filename, html=html, xml=xml, gui=gui, junit=junit, $ 
    3032            color=color, $ 
    3133            npass=npass, nfail=nfail, ntests=ntests 
     
    3638    keyword_set(html): runnerName = 'MGutHtmlRunner' 
    3739    keyword_set(xml): runnerName = 'MGutXmlRunner' 
     40    keyword_set(junit): runnerName = 'MGutJUnitRunner' 
    3841    else: runnerName = 'MgutCliRunner' 
    3942  endcase