telemetry.test_runner
index
telemetry/test_runner.py

Parses the command line, discovers the appropriate tests, and runs them.
 
Handles test configuration, but all the logic for
actually running the test is in Test and PageRunner.

 
Modules
       
telemetry.core.browser_options
telemetry.core.command_line
telemetry.core.discover
inspect
json
os
sys
telemetry.test
telemetry.core.util

 
Classes
       
telemetry.core.command_line.OptparseCommand(telemetry.core.command_line.Command)
Help
List
Run

 
class Help(telemetry.core.command_line.OptparseCommand)
    Display help information
 
 
Method resolution order:
Help
telemetry.core.command_line.OptparseCommand
telemetry.core.command_line.Command
telemetry.core.command_line.ArgumentHandlerMixIn
__builtin__.object

Methods defined here:
Run(self, args)

Class methods inherited from telemetry.core.command_line.OptparseCommand:
CreateParser(cls) from __builtin__.type

Data and other attributes inherited from telemetry.core.command_line.OptparseCommand:
usage = ''

Class methods inherited from telemetry.core.command_line.Command:
Description(cls) from __builtin__.type
Name(cls) from __builtin__.type

Class methods inherited from telemetry.core.command_line.ArgumentHandlerMixIn:
AddCommandLineArgs(cls, parser) from __builtin__.type
Override to accept custom command-line arguments.
ProcessCommandLineArgs(cls, parser, args) from __builtin__.type
Override to process command-line arguments.
 
We pass in parser so we can call parser.error().

Data descriptors inherited from telemetry.core.command_line.ArgumentHandlerMixIn:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class List(telemetry.core.command_line.OptparseCommand)
    Lists the available tests
 
 
Method resolution order:
List
telemetry.core.command_line.OptparseCommand
telemetry.core.command_line.Command
telemetry.core.command_line.ArgumentHandlerMixIn
__builtin__.object

Methods defined here:
Run(self, args)

Class methods defined here:
AddCommandLineArgs(cls, parser) from __builtin__.type
ProcessCommandLineArgs(cls, parser, args) from __builtin__.type

Data and other attributes defined here:
usage = '[test_name] [<options>]'

Class methods inherited from telemetry.core.command_line.OptparseCommand:
CreateParser(cls) from __builtin__.type

Class methods inherited from telemetry.core.command_line.Command:
Description(cls) from __builtin__.type
Name(cls) from __builtin__.type

Data descriptors inherited from telemetry.core.command_line.ArgumentHandlerMixIn:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Run(telemetry.core.command_line.OptparseCommand)
    Run one or more tests
 
 
Method resolution order:
Run
telemetry.core.command_line.OptparseCommand
telemetry.core.command_line.Command
telemetry.core.command_line.ArgumentHandlerMixIn
__builtin__.object

Methods defined here:
Run(self, args)

Class methods defined here:
AddCommandLineArgs(cls, parser) from __builtin__.type
CreateParser(cls) from __builtin__.type
ProcessCommandLineArgs(cls, parser, args) from __builtin__.type

Data and other attributes defined here:
usage = 'test_name [<options>]'

Class methods inherited from telemetry.core.command_line.Command:
Description(cls) from __builtin__.type
Name(cls) from __builtin__.type

Data descriptors inherited from telemetry.core.command_line.ArgumentHandlerMixIn:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
Main()

 
Data
        test_aliases = {}