anypytools.pytest_plugin¶
Created on Mon Sep 1 12:44:36 2014.
@author: Morten
-
class
anypytools.pytest_plugin.
AnyTestFile
(*k, **kw)[source]¶ pytest.File subclass for AnyScript files.
-
config
¶ The pytest config object.
-
fspath
: _pytest._py.path.LocalPath¶ A
LEGACY_PATH
copy of thepath
attribute. Intended for usage for methods not migrated topathlib.Path
yet, such asItem.reportinfo
. Will be deprecated in a future release, prefer usingpath
instead.
-
name
¶ A unique name within the scope of the parent node.
-
parent
¶ The parent collector node.
-
path
¶ Filesystem path where this node was collected from (can be None).
-
session
¶ The pytest session this node is part of.
-
-
class
anypytools.pytest_plugin.
AnyTestItem
(*k, **kw)[source]¶ pytest.Item subclass representing individual collected tests.
-
save_output_files
(src_folder, target_folder, result, hdf5files)[source]¶ Saves hdf5, macro, and log files from a test run and copy it to the target_folder
-
config
¶ The pytest config object.
-
fspath
: _pytest._py.path.LocalPath¶ A
LEGACY_PATH
copy of thepath
attribute. Intended for usage for methods not migrated topathlib.Path
yet, such asItem.reportinfo
. Will be deprecated in a future release, prefer usingpath
instead.
-
name
¶ A unique name within the scope of the parent node.
-
parent
¶ The parent collector node.
-
path
¶ Filesystem path where this node was collected from (can be None).
-
session
¶ The pytest session this node is part of.
-
-
class
anypytools.pytest_plugin.
AnyTestSession
[source]¶ Class for storing configuation of the AnyTest plugin to pytest.