schrodinger :: test :: pytest_customizations :: ExecutableTest :: Class ExecutableTest
[hide private]
[frames] | no frames]

Class ExecutableTest

       object --+        
                |        
_pytest.main.Node --+    
                    |    
    _pytest.main.Item --+
                        |
                       ExecutableTest
Known Subclasses:

Use $SCHRODINGER/run to execute a file with no arguments.

Instance Methods [hide private]
 
__init__(self, parent)
x.__init__(...) initializes x; see help(type(x)) for signature
 
getCommand(self)
Get the command to be executed.
 
findValgrindSuppressionsFiles(self)
Search from the test directory to $SCHRODINGER.
 
runtest(self, env=None)
Executed for each test.
 
repr_failure(self, excinfo)
Called when self.runtest() raises an exception.
 
reportinfo(self)
The short and long names of the test.

Inherited from _pytest.main.Item: add_report_section

Inherited from _pytest.main.Node: __hash__, __repr__, add_marker, addfinalizer, get_marker, getparent, listchain, listextrakeywords, listnames, setup, teardown, warn

Inherited from _pytest.main.Node (private): _getcustomclass, _makeid, _memoizedcall, _prunetraceback, _repr_failure_py

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from _pytest.main.Item: nextitem

Properties [hide private]

Inherited from _pytest.main.Item: location

Inherited from _pytest.main.Node: Class, File, Function, Instance, Item, Module, ihook, nodeid

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

findValgrindSuppressionsFiles(self)

 

Search from the test directory to $SCHRODINGER. Also search $SCHRODINGER_SRC/build_tools.

runtest(self, env=None)

 

Executed for each test. (pytest method)

repr_failure(self, excinfo)

 

Called when self.runtest() raises an exception. (pytest method)

Overrides: _pytest.main.Node._repr_failure_py

reportinfo(self)

 

The short and long names of the test. (pytest method)

Overrides: _pytest.main.Item.reportinfo