Skip to content
Snippets Groups Projects
Commit 89b12bef authored by danielspeicher's avatar danielspeicher
Browse files

#9

parent b3a89e8b
No related branches found
No related tags found
No related merge requests found
Pipeline #33649 passed
......@@ -21,11 +21,11 @@ You will find links to further documentation on how to write Behat tests at the
### Command line
The easiest way to run Behat tests is to use the prepared Ahoy commands. Just call `a behat` to get a list of all available commands. In the background, they call the same commands that are described in detail in the following paragraphs.
The easiest way to run Behat tests is to use the prepared [Ahoy](/composer/plugin/ahoy) commands. Just call `a behat` to get a list of all available commands. In the background, they call the same commands that are described in detail in the following paragraphs.
You need to execute Behat inside of the PHP Docker container. From the root of your project you can launch the containers with `docker-compose up -d` and then enter the PHP container with `docker-compose exec --user root php sh`.
You need to execute Behat inside the PHP Docker container. From the root of your project you can launch the containers with `docker-compose up -d` and then enter the PHP container with `docker-compose exec --user root php sh`.
Inside of the container you'll be located at `/var/www/html` and in that directory you can run the Behat test suite with the command `vendor/bin/behat --no-interaction --config /var/www/html/tests/behat/behat.yml`
Inside the container you'll be located at `/var/www/html` and in that directory you can run the Behat test suite with the command `vendor/bin/behat --no-interaction --config /var/www/html/tests/behat/behat.yml`
### PhpStorm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment