MCPcopy Create free account

hub / github.com/pytest-dev/pytest-bdd / functions

Functions291 in github.com/pytest-dev/pytest-bdd

Functioncheck_existense
Check file or directory name for existence.
src/pytest_bdd/scripts.py:41
Functioncmdline_main
Check config option to show missing code.
src/pytest_bdd/generation.py:54
Functionconfigure
(config: Config)
src/pytest_bdd/gherkin_terminal_reporter.py:26
Functionconfigure
(config: Config)
src/pytest_bdd/cucumber_json.py:34
Methodcurrent_step_report
Get current step report. :return: Last or current step report. :rtype: pytest_bdd.reporting.StepReport
src/pytest_bdd/reporting.py:85
Functiondecorator
(func: Callable[P, T])
src/pytest_bdd/steps.py:161
Functiondecorator
(*args: Callable[P, T])
src/pytest_bdd/scenario.py:288
Functiondump_obj
Dump objects to stdout so that they can be inspected by the test suite.
src/pytest_bdd/utils.py:59
Methodduration
Step execution duration. :return: Step execution duration. :rtype: float
src/pytest_bdd/reporting.py:61
Functionfin
()
src/pytest_bdd/compat.py:64
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:65
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:75
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:85
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:113
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:129
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:145
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:164
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:183
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:199
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:223
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:245
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:263
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:282
Methodfrom_dict
(cls, data: dict[str, Any])
src/pytest_bdd/gherkin_parser.py:300
Functiongiven
Given step decorator. :param name: Step name or a parser object. :param converters: Optional `dict` of the argument or parameter converters i
src/pytest_bdd/steps.py:78
Functionidentity
Return the argument.
src/pytest_bdd/utils.py:87
Methodis_matching
Match given name with the step name.
src/pytest_bdd/parsers.py:28
Methodis_matching
Match given name with the step name.
src/pytest_bdd/parsers.py:71
Methodis_matching
Match given name with the step name.
src/pytest_bdd/parsers.py:98
Functionmake_python_docstring
Make a python docstring literal out of a given string.
src/pytest_bdd/scenario.py:413
Functionmake_string_literal
Make python string literal out of a given string.
src/pytest_bdd/scenario.py:418
Functionmigrate_tests
Migrate outdated tests to the most recent form.
src/pytest_bdd/scripts.py:15
Methodparse_arguments
Get step arguments from the given step name. :return: `dict` of step arguments
src/pytest_bdd/parsers.py:20
Methodparse_arguments
Get step arguments. :return: `dict` of step arguments
src/pytest_bdd/parsers.py:64
Methodparse_arguments
No parameters are available for simple string step. :return: `dict` of step arguments
src/pytest_bdd/parsers.py:91
Functionprint_generated_code
Print generated test code for the given filenames.
src/pytest_bdd/scripts.py:48
Functionpytest_addhooks
Register plugin hooks.
src/pytest_bdd/plugin.py:29
Functionpytest_addoption
Add pytest-bdd options.
src/pytest_bdd/plugin.py:58
Functionpytest_bdd_after_scenario
Called after scenario is executed.
src/pytest_bdd/hooks.py:17
Functionpytest_bdd_after_step
Called after step function is successfully executed.
src/pytest_bdd/hooks.py:38
Functionpytest_bdd_after_step
( request: FixtureRequest, feature: Feature, scenario: Scenario, step: Step, step_func: Ca
src/pytest_bdd/plugin.py:121
Functionpytest_bdd_apply_tag
Apply a tag (from a ``.feature`` file) to the given scenario. The default implementation does the equivalent of ``getattr(pytest.mark, tag)(f
src/pytest_bdd/hooks.py:68
Functionpytest_bdd_apply_tag
(tag: str, function: Callable[P, T])
src/pytest_bdd/plugin.py:136
Functionpytest_bdd_before_scenario
Called before scenario is executed.
src/pytest_bdd/hooks.py:13
Functionpytest_bdd_before_scenario
(request: FixtureRequest, feature: Feature, scenario: Scenario)
src/pytest_bdd/plugin.py:92
Functionpytest_bdd_before_step
Called before step function is set up.
src/pytest_bdd/hooks.py:21
Functionpytest_bdd_before_step
( request: FixtureRequest, feature: Feature, scenario: Scenario, step: Step, step_func: Ca
src/pytest_bdd/plugin.py:110
Functionpytest_bdd_before_step_call
Called before step function is executed.
src/pytest_bdd/hooks.py:27
Functionpytest_bdd_step_error
Called when step function failed to execute.
src/pytest_bdd/hooks.py:49
Functionpytest_bdd_step_error
( request: FixtureRequest, feature: Feature, scenario: Scenario, step: Step, step_func: Ca
src/pytest_bdd/plugin.py:97
Functionpytest_bdd_step_func_lookup_error
Called when step lookup failed.
src/pytest_bdd/hooks.py:61
Functionpytest_cmdline_main
(config: Config)
src/pytest_bdd/plugin.py:132
Functionpytest_configure
Configure all subplugins.
src/pytest_bdd/plugin.py:71
Functionpytest_generate_tests
(metafunc)
tests/conftest.py:6
Methodpytest_runtest_logreport
(self, report: TestReport)
src/pytest_bdd/gherkin_terminal_reporter.py:51
Methodpytest_runtest_logreport
(self, report: TestReport)
src/pytest_bdd/cucumber_json.py:88
Functionpytest_runtest_makereport
(item: Item, call: CallInfo)
src/pytest_bdd/plugin.py:86
Methodpytest_sessionfinish
(self)
src/pytest_bdd/cucumber_json.py:144
Methodpytest_sessionstart
(self)
src/pytest_bdd/cucumber_json.py:141
Methodpytest_terminal_summary
(self, terminalreporter: TerminalReporter)
src/pytest_bdd/cucumber_json.py:148
Functionpytest_unconfigure
Unconfigure all subplugins.
src/pytest_bdd/plugin.py:78
Functionreplacer
(m: re.Match)
src/pytest_bdd/parser.py:40
Functionruntest_makereport
Store item in the report object.
src/pytest_bdd/reporting.py:151
Functionscenario
Scenario decorator. :param str feature_name: Feature file name. Absolute or relative to the configured feature base path. :param str scenario
src/pytest_bdd/scenario.py:351
Functionscenario_wrapper
(request: FixtureRequest, _pytest_bdd_example: dict[str, str])
src/pytest_bdd/scenario.py:296
Functionscenarios
Parse features from the paths and put all found scenarios in the caller module. :param *feature_paths: feature file paths to use for scenarios
src/pytest_bdd/scenario.py:438
Methodserialize
Serialize scenario execution report in order to transfer reporting from nodes in the distributed mode. :return: Serialized report. :r
src/pytest_bdd/reporting.py:101
Functionsetdefault
Just like dict.setdefault, but for objects.
src/pytest_bdd/utils.py:78
Functionstep_error
Finalize the step report as failed.
src/pytest_bdd/reporting.py:164
Functionstep_function_marker
()
src/pytest_bdd/steps.py:172
Methodstepmap
(step: dict[str, Any])
src/pytest_bdd/cucumber_json.py:99
Methodsteps
Get all steps for the scenario, including background steps. Returns: List[Step]: A list of steps, including any background steps
src/pytest_bdd/parser.py:197
Functiontest_all_steps_can_provide_fixtures
Test that given/when/then can all provide fixtures.
tests/feature/test_steps.py:127
Functiontest_angular_brackets_are_not_parsed
Test that angular brackets are not parsed for "Scenario"s. (They should be parsed only when used in "Scenario Outline")
tests/feature/test_scenario.py:156
Functiontest_apply_tag_hook
(pytester)
tests/feature/test_tags.py:121
Functiontest_argument_in_when
Test step arguments in when steps.
tests/args/cfparse/test_args.py:60
Functiontest_argument_in_when
(pytester)
tests/args/regex/test_args.py:111
Functiontest_argument_in_when_step_1
(pytester)
tests/args/parse/test_args.py:59
Functiontest_asterisk_keyword
(pytester)
tests/steps/test_keyword.py:4
Functiontest_at_in_scenario
(pytester)
tests/feature/test_tags.py:167
Functiontest_background_basic
Test feature background.
tests/feature/test_background.py:78
Functiontest_background_check_order
Test feature background to ensure that background steps are executed first.
tests/feature/test_background.py:100
Functiontest_child
Test the child conftest overriding the fixture.
tests/library/test_parent.py:108
Functiontest_complex_types
Test serialization of the complex types.
tests/feature/test_report.py:275
Functiontest_conftest
(pytester)
tests/feature/test_steps.py:260
Functiontest_conftest_module_evaluated_twice
Regression test for https://github.com/pytest-dev/pytest-bdd/issues/62
tests/test_hooks.py:6
Functiontest_datatable_argument_in_step_impl_is_optional
(pytester)
tests/datatable/test_datatable.py:100
Functiontest_datatable_step_argument_is_reserved_and_cannot_be_used
(pytester)
tests/datatable/test_datatable.py:215
Functiontest_default_output_should_be_the_same_as_regular_terminal_reporter
(pytester)
tests/feature/test_gherkin_terminal_reporter.py:40
Functiontest_default_value_is_used_as_fallback
Test that the default value for a step implementation is only used as a fallback.
tests/feature/test_scenario.py:398
Functiontest_description
Test description for the feature.
tests/feature/test_description.py:6
Functiontest_docstring_argument_in_step_impl_is_optional
(pytester)
tests/steps/test_docstring.py:139
Functiontest_docstring_step_argument_is_reserved_and_cannot_be_used
(pytester)
tests/steps/test_docstring.py:198
Functiontest_double_verbose_mode_should_display_full_scenario_description
(pytester)
tests/feature/test_gherkin_terminal_reporter.py:85
Functiontest_error_message_for_missing_steps
(pytester, verbosity)
tests/feature/test_gherkin_terminal_reporter.py:99
Functiontest_error_message_should_be_displayed
(pytester, verbosity)
tests/feature/test_gherkin_terminal_reporter.py:119
Functiontest_every_step_takes_param_with_the_same_name
Test every step takes param with the same name.
tests/args/cfparse/test_args.py:6
Functiontest_every_steps_takes_param_with_the_same_name
(pytester)
tests/args/parse/test_args.py:6
Functiontest_every_steps_takes_param_with_the_same_name
(pytester)
tests/args/regex/test_args.py:6
Functiontest_exact_match
Test that parsers.re does an exact match (fullmatch) of the whole string. This tests exists because in the past we only used re.match, which only
tests/args/regex/test_args.py:58
← previousnext →101–200 of 291, ranked by callers