5.1. nose2unitth package¶
5.1.1. Submodules¶
5.1.2. nose2unitth.__main__ module¶
nose2unitth command line program
- Author
Jonathan Karr <karr@mssm.edu>
- Date
2017-08-16
- Copyright
2016, Karr Lab
- License
MIT
-
class
nose2unitth.__main__.
App
(label=None, **kw)[source]¶ Bases:
cement.core.foundation.App
Command line application
-
class
nose2unitth.__main__.
BaseController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
Base controller for command line application
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['-v', '--version'], {'action': 'version', 'version': '0.0.13'}), (['in_file_nose'], {'type': <class 'str'>, 'help': 'path to nose test report that should be converted'}), (['out_dir_unitth'], {'type': <class 'str'>, 'help': 'path where converted test report should be saved'})][source]¶
-
-
class
5.1.3. nose2unitth._version module¶
5.1.4. 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