fundamentals.nose2_plugins.cprof

Profile test execution using cProfile. Config option sort can be used to change how profiling information is presented.

Module Contents

Classes

Profiler

Profile the test run using cProfile

Data

API

class fundamentals.nose2_plugins.cprof.Profiler[source]

Bases: nose2.events.Plugin

Profile the test run using cProfile

Initialization

beforeSummaryReport(event)[source]

Output profiling results

commandLineSwitch[source]

(‘P’, ‘profile’, ‘Run test under cprofile’)

configSection[source]

‘profiler’

startTestRun(event)[source]

Setup profiler

fundamentals.nose2_plugins.cprof.__all__[source]

(‘Profiler’,)

fundamentals.nose2_plugins.cprof.log[source]

‘getLogger(…)’