nose2unitth package

Submodules

nose2unitth.core module

Convert nose-style test reports to UnitTH-style test reports by splitting modules into separate XML files

Author:Jonathan Karr <karr@mssm.edu>
Date:2017-07-27
Copyright:2016, Karr Lab
License:MIT
class nose2unitth.core.Converter[source]

Bases: object

Convert nose-style test reports to UnitTH-style test reports by splitting modules into separate XML files

static read_nose(in_file)[source]

Parse nose-style test reports into a dict

Parameters:in_file (str) – path to nose-style test report
Returns:dictionary of test suites
Return type:dict
static run(in_file_nose, out_dir_unitth)[source]

Convert nose-style test reports to UnitTH-style test reports by splitting modules into separate XML files

Parameters:
  • in_file_nose (str) – path to nose-style test report
  • out_file_unitth (str) – path to save UnitTH-style test reports
static write_unitth(suites, out_dir)[source]

Write UnitTH-style test reports

Parameters:
  • suites (dict) – dictionary of test suites
  • out_dir (str) – path to save UnitTH-style test reports

Module contents