PrestaShop / PrestaShop/docs

Behat - The paragraph explaining how to run specific feature tests should be re-formulated

Open
#1,011 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
136
Forks
555
Avg merge
4d 14h
Merged PRs (30d)
4

Description

According to docs, when you execute :php ./vendor/bin/behat -c tests/Integration/Behaviour/behat.yml with --name="free shipping", Behat will run the tests in the specific file free_shipping.feature.

While it will execute all the tests that contain "free shipping" in Scenario; in other words, all other features that contain "free shipping" (like amount_multiple and add_cartRule ....).

I think the docs are misleading in this paragraph.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the documentation paragraph describing php ./vendor/bin/behat -c tests/Integration/Behaviour/behat.yml with --name="free shipping", then compare it with the named feature examples such as free_shipping.feature, amount_multiple, and add_cartRule. Reword the paragraph so it accurately explains that the option matches scenarios across feature files, and verify the command and resulting scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.