Ticket #1971 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Update cxxtest to report times in xUnit output

Reported by: Stuart Campbell Owned by: Stuart Campbell
Priority: major Milestone: Iteration 26
Component: Tools Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

The updated version of cxxtest (in Tools) that will produce xUnit output doesn't calculate the time taken for a test.

Change History

comment:1 Changed 10 years ago by Stuart Campbell

  • Component changed from Mantid to Tools

comment:2 Changed 10 years ago by Stuart Campbell

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Stuart Campbell

(In [7796]) Added timing to xunit output. refs #1971

comment:4 Changed 10 years ago by Stuart Campbell

  • Status changed from accepted to verify
  • Resolution set to fixed

This only works for the cxxtest in Tools (soon to be in TestingTools).

To test it you will need to run scons with the xunitoutput=1 option to build the tests to produce the xml files. You can then run the test executable in Build/Tests. You will then see a TEST-<package>.xml (e.g. TEST-Algorithms.xml) file.

comment:5 Changed 10 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:6 Changed 10 years ago by Nick Draper

  • Status changed from verifying to closed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2818

Note: See TracTickets for help on using tickets.