Skip to content

Commit

Permalink
Merge pull request Sylius#120 from pamil/1.3-readme
Browse files Browse the repository at this point in the history
🐤
  • Loading branch information
bartoszpietrzak1994 authored Sep 25, 2018
2 parents d1fbf83 + 28e3df2 commit 0d959b5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

```bash
$ (cd tests/Application && yarn install)
$ (cd tests/Application && yarn run gulp)
$ (cd tests/Application && bin/console assets:install web -e test)
$ (cd tests/Application && yarn build)
$ (cd tests/Application && bin/console assets:install public -e test)

$ (cd tests/Application && bin/console doctrine:database:create -e test)
$ (cd tests/Application && bin/console doctrine:schema:create -e test)
Expand All @@ -30,19 +30,19 @@
- PHPUnit

```bash
$ bin/phpunit
$ vendor/bin/phpunit
```

- PHPSpec

```bash
$ bin/phpspec run
$ vendor/bin/phpspec run
```

- Behat (non-JS scenarios)

```bash
$ bin/behat --tags="~@javascript"
$ vendor/bin/behat --tags="~@javascript"
```

- Behat (JS scenarios)
Expand All @@ -57,13 +57,13 @@
3. Run test application's webserver on `localhost:8080`:
```bash
$ (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d web -e test)
$ (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d public -e test)
```
4. Run Behat:
```bash
$ bin/behat --tags="@javascript"
$ vendor/bin/behat --tags="@javascript"
```
### Opening Sylius with your plugin
Expand All @@ -72,12 +72,12 @@
```bash
$ (cd tests/Application && bin/console sylius:fixtures:load -e test)
$ (cd tests/Application && bin/console server:run -d web -e test)
$ (cd tests/Application && bin/console server:run -d public -e test)
```
- Using `dev` environment:
```bash
$ (cd tests/Application && bin/console sylius:fixtures:load -e dev)
$ (cd tests/Application && bin/console server:run -d web -e dev)
$ (cd tests/Application && bin/console server:run -d public -e dev)
```

0 comments on commit 0d959b5

Please sign in to comment.