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: Config¶
The pytest config object.
- name: str¶
A unique name within the scope of the parent node.
- parent¶
The parent collector node.
- path: pathlib.Path¶
Filesystem path where this node was collected from (can be None).
- session: 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: Config¶
The pytest config object.
- name: str¶
A unique name within the scope of the parent node.
- parent¶
The parent collector node.
- path: pathlib.Path¶
Filesystem path where this node was collected from (can be None).
- session: 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.