Skip to content

Commit

Permalink
Merge pull request #135 from tsummerer/add_sail_documentation
Browse files Browse the repository at this point in the history
Add Documentation for Laravel Sail
  • Loading branch information
calebporzio authored Jan 25, 2024
2 parents ee299bd + 93d72a3 commit b9f5856
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ Running tests with Docker Compose, starting up a service and removing the contai
}
```

Running tests with Laravel Sail:
```
{
"better-phpunit.docker.enable": true,
"better-phpunit.docker.command": "docker compose exec -u sail laravel.test",
"better-phpunit.docker.paths": {
"/your/local/path": "/var/www/html"
},
"better-phpunit.phpunitBinary": "php artisan test",
}
```

**Note:**
For running Docker over a SSH session just use both options _ssh.enable_ and _docker.enable_ combined.

Expand Down

0 comments on commit b9f5856

Please sign in to comment.