moodlehq / behat-extension
This package is abandoned and no longer maintained.
No replacement package was suggested.
Moodle behat extension
v3.400.5
2021-05-19 23:29 UTC
Requires
- php: >=7.3.0
- behat/behat: 3.8.*
- behat/mink: ~1.8
- behat/mink-goutte-driver: ~1.2
- friends-of-behat/mink-extension: dev-master
- oleg-andreyev/mink-phpwebdriver: ^1.0
- symfony/process: ^4.0 || ^5.0
- dev-master
- v3.400.5
- v3.400.4
- v3.400.3
- v3.400.2
- v3.400.1
- v3.400.0
- v3.311.5
- v3.311.4
- v3.311.3
- v3.311.2
- v3.311.1
- v3.311.0
- v3.310.3
- v3.310.2
- v3.310.1
- v3.310.0
- v3.40.0
- v3.39.6
- v3.39.5
- v3.39.4
- v3.39.3
- v3.39.2
- v3.39.1
- v3.39.0
- v3.38.5
- v3.38.4
- v3.38.3
- v3.38.2
- v3.38.1
- v3.38.0
- v3.37.4
- v3.37.3
- v3.37.2
- v3.37.1
- v3.37.0
- v3.36.3
- v3.36.2
- v3.36.1
- v3.36.0
- v3.35.4
- v3.35.3
- v3.35.2
- v3.35.1
- v3.35.0
- v3.34.2
- v3.34.1
- v3.34.0
- v3.33.2
- v3.33.1
- v3.33.0
- v3.32.6
- v3.32.5
- v3.32.4
- v3.32.3
- v3.32.2
- v3.32.1
- v3.32.0
- v3.31.7
- v3.31.6
- v3.31.5
- v3.31.4
- v3.31.3
- v3.31.2
- v3.31.1
- v3.31.0
- v1.31.0
- v1.30.2
- v1.30.1
- v1.30.0
- v1.29.8
- v1.29.7
- v1.29.6
- v1.29.5
- v1.29.4
- v1.29.3
- v1.29.2
- v1.29.1
- v1.29.0
- v1.28.8
- v1.28.7
- v1.28.6
- v1.28.5
- v1.28.4
- v1.28.3
- v1.28.2
- v1.28.1
- v1.28.0
- v1.27.14
- v1.27.13
- v1.27.12
- v1.27.11
- v1.27.10
- v1.27.9
- v1.27.8
- v1.27.7
- v1.27.6
- v1.27.5
- v1.27.4
- v1.27.3
- v1.27.2
- v1.27.1
- v1.27.0
- v1.26.9
- v1.26.8
- v1.26.7
- v1.26.6
- v1.26.5
- v1.26.4
- v1.26.3
- v1.26.2
- v1.26.1
- v1.26.0
- v1.25.13
- v1.25.12
- v1.25.11
- v1.25.10
- v1.25.9
- v1.25.8
- v1.25.7
- v1.25.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- dev-MOODLE_311_STABLE
- dev-MOODLE_39_STABLE
- dev-MOODLE_310_STABLE
- dev-w3c
- dev-MOODLE_37_STABLE
- dev-MOODLE_38_STABLE
- dev-MOODLE_35_STABLE
- dev-MOODLE_36_STABLE
- dev-MOODLE_25_STABLE
- dev-MOODLE_27_STABLE
- dev-MOODLE_26_STABLE
- dev-MOODLE_28_STABLE
- dev-MOODLE_29_STABLE
- dev-MOODLE_30_STABLE
- dev-MOODLE_31_STABLE
- dev-MOODLE_32_STABLE
- dev-MOODLE_33_STABLE
- dev-MOODLE_34_STABLE
This package is auto-updated.
Last update: 2022-05-07 01:36:45 UTC
README
Behat extension for Moodle to get features and steps definitions from different moodle components; it basically allows multiple features folders and helps with the contexts spreads across components of an external app.
Following custom formats are supported.
- moodle_progress: Prints Moodle branch information and dots for each step.
- moodle_list: List all scenarios.
- moodle_stepcount: List all features with total steps in each feature file. Used for parallel run.
- moodle_screenshot: Take screenshot and core dump of each step. With following options you can dump either or both.
- --format-settings '{"formats": "image"}': will dump image only
- --format-settings '{"formats": "html"}': will dump html only.
- --format-settings '{"formats": "html,image"}': will dump both.
- --format-settings '{"formats": "html", "dir_permissions": "0777"}'
Contributing
http://docs.moodle.org/dev/Acceptance_testing/Contributing_to_Moodle_behat_extension
Upgrade from moodle-behat-extension 1.31.x to 3.31.0
- Chained steps are not natively supported by behat 3.
- You should either replace Behat\Behat\Context\Step\Given with Behat\Behat\Context\Step\Given;
- or use behat_context_helper::get('BEHAT_CONTEXT_CLASS'); and call api to execute the step.
- named selectors are deprecated, use named_exact or named_partial instead.
- Failed steps are cached for rerun and doesn't require an empty file to save failed scenarios.