Scope

Yuo can tune global context, within a reasonable of course :)

Layers matching

This is way to creating relationships of layer to class and it heirs.

import seismograph
from seismograph import scope


class ExampleCaseLayer(seismograph.CaseLayer):
    pass


class ExampleCase(seismograph.Case):
    pass


scope.match_case_to_layer(ExampleCase, ExampleCaseLayer())

You can do that for suite also.

Configure

seismograph.scope.configure(start_message=None, round_runtime=None, config_env_name=None, max_diff=<object object>, test_name_prefix=None, case_group_class=None, suite_group_class=None, default_test_name=None, skip_attribute_name=None, skip_why_attribute_name=None, use_static_test_functions=False)

Configure global context

Parameters:
  • start_message
  • round_runtime
  • config_env_name
  • max_diff
  • test_name_prefix
  • case_group_class
  • suite_group_class
  • default_test_name
  • skip_attribute_name
  • skip_why_attribute_name
  • use_static_test_functions