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.test
copy
telemetry.core.discover
inspect
json
optparse
os
sys
telemetry.test

 
Classes
       
__builtin__.object
Command
Help
List
Run

 
class Command(__builtin__.object)
     Methods defined here:
AddParserOptions(self, parser)
CreateParser(self)
Run(self, options, args)
ValidateCommandLine(self, parser, options, args)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
description
name

Data and other attributes defined here:
usage = ''

 
class Help(Command)
    Display help information
 
 
Method resolution order:
Help
Command
__builtin__.object

Methods defined here:
Run(self, options, args)

Methods inherited from Command:
AddParserOptions(self, parser)
CreateParser(self)
ValidateCommandLine(self, parser, options, args)

Data descriptors inherited from Command:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
description
name

Data and other attributes inherited from Command:
usage = ''

 
class List(Command)
    Lists the available tests
 
 
Method resolution order:
List
Command
__builtin__.object

Methods defined here:
AddParserOptions(self, parser)
Run(self, options, args)

Methods inherited from Command:
CreateParser(self)
ValidateCommandLine(self, parser, options, args)

Data descriptors inherited from Command:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
description
name

Data and other attributes inherited from Command:
usage = ''

 
class Run(Command)
    Run one or more tests
 
 
Method resolution order:
Run
Command
__builtin__.object

Methods defined here:
CreateParser(self)
Run(self, options, args)
ValidateCommandLine(self, parser, options, args)

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

Methods inherited from Command:
AddParserOptions(self, parser)

Data descriptors inherited from Command:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
description
name

 
Functions
       
Main()

 
Data
        COMMANDS = [<telemetry.test_runner.Help object>, <telemetry.test_runner.List object>, <telemetry.test_runner.Run object>]