Skip to content

Commit

Permalink
Improve Behat test instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich authored Jul 7, 2023
1 parent 8b214d4 commit a8ed9bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ we use the right versions etc).

.. code-block:: bash
pushd Packages/Neos/Neos.ContentRepository.BehavioralTests/Tests/Behavior
bin/behat -c Packages/Neos/Neos.ContentRepository.BehavioralTests/Tests/Behavior/behat.yml.dist
../../../../../bin/behat -c behat.yml.dist Features/
Running all tests can take a long time, depending on the hardware.
To speed up the process, Behat tests can be executed in a "synchronous" mode by setting the `CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION` environment variable:

# To run tests in speed mode, run CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION=1
CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION=1 ../../../../../bin/behat -c behat.yml.dist Features/
.. code-block:: bash
popd
CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION=1 bin/behat -c Packages/Neos/Neos.ContentRepository.BehavioralTests/Tests/Behavior/behat.yml.dist
Alternatively, if you want to reproduce errors as they happen inside the CI system, but you
develop on Mac OS, you might want to run the Behat tests in a Docker container (= a linux environment)
Expand Down

0 comments on commit a8ed9bc

Please sign in to comment.