Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,3 @@ before_script:
script:
- ./bin/atoum
- ./bin/behat -fprogress --tags='~@user'

- ./bin/box build
- sed -i 's/Sanpi\\Behatch\\Extension/behatch_contexts.phar/' behat.yml
- ./bin/behat -fprogress --tags='~@user'
19 changes: 0 additions & 19 deletions bin/main

This file was deleted.

7 changes: 0 additions & 7 deletions bin/stub.php

This file was deleted.

8 changes: 0 additions & 8 deletions box.json

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},

"require-dev": {
"kherge/box": "~2.0",
"behat/mink-goutte-driver": "~1.1",
"behat/mink-selenium2-driver": "~1.2",
"atoum/atoum": "~2.8|~3.0"
Expand Down
33 changes: 2 additions & 31 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,8 @@ This extension requires:
* Mink
* Mink extension

Through PHAR
~~~~~~~~~~~~

Download the .phar archives:

* `behat.phar <http://behat.org/downloads/behat.phar>`_ - Behat itself
* `mink.phar <http://behat.org/downloads/mink.phar>`_ - Mink framework
* `mink_extension.phar <http://behat.org/downloads/mink_extension.phar>`_ - Mink integration extension
* `behatch_contexts.phar <http://behat.org/downloads/behatch_contexts.phar>`_ - Behatch contexts

And activate it in your in your ``behat.yml``:

.. code-block:: yaml

# behat.yml
default:
# ...
extensions:
behatch_contexts.phar: ~

Through Composer
~~~~~~~~~~~~~~~~

The easiest way to keep your suite updated is to use
`Composer <http://getcomposer.org>`_.

You can add Behatch contexts as dependencies for your project or rapidly
bootstrap a Behatch projects.

Project dependency
******************
~~~~~~~~~~~~~~~~~~

1. `Install Composer <https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx>`_

Expand All @@ -79,7 +50,7 @@ Project dependency
Behatch\Extension: ~

Project bootstraping
********************
~~~~~~~~~~~~~~~~~~~~

1. Download the Behatch skeleton with composer:

Expand Down