- Install
osxfuse:
brew cask install osxfuse-
Reboot your Mac.
-
Install
ntfs-3g:
| FROM nginx:latest | |
| COPY default.conf /etc/nginx/conf.d/ |
| FROM php:7.2-fpm | |
| RUN apt-get update | |
| RUN apt-get install -y zlib1g-dev libpq-dev git libicu-dev libxml2-dev \ | |
| && docker-php-ext-configure intl \ | |
| && docker-php-ext-install intl \ | |
| && docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | |
| && docker-php-ext-install pdo pdo_pgsql pgsql \ | |
| && docker-php-ext-install zip xml |
| version: '2' | |
| services: | |
| postgres: | |
| image: postgres | |
| ports: | |
| - '5433:5432' | |
| php: | |
| build: php-fpm | |
| ports: | |
| - '9002:9000' |
| # behat.yml.dist | |
| default: | |
| suites: | |
| default: | |
| contexts: | |
| - FeatureContext: | |
| kernel: '@kernel' | |
| extensions: | |
| Behat\Symfony2Extension: | |
| kernel: |
| # features/books.feature | |
| Feature: Books feature | |
| Scenario: Adding a new book | |
| When I add "Content-Type" header equal to "application/json" | |
| And I add "Accept" header equal to "application/json" | |
| And I send a "POST" request to "/api/books/" with body: | |
| """ | |
| { | |
| "title": "King", | |
| "author": "T. M. Frazier", |
| # behat.yml | |
| default: | |
| suites: | |
| default: | |
| contexts: | |
| - FeatureContext: | |
| kernel: '@kernel' | |
| - Behat\MinkExtension\Context\MinkContext | |
| - behatch:context:json | |
| - behatch:context:rest |
| # behat.yml | |
| default: | |
| suites: | |
| default: | |
| contexts: | |
| - FeatureContext: | |
| kernel: '@kernel' | |
| - Behat\MinkExtension\Context\MinkContext | |
| extensions: | |
| Behat\Symfony2Extension: |
osxfuse:brew cask install osxfuseReboot your Mac.
Install ntfs-3g:
| community: "Community" | |
| RSS: "RSS" | |
| premium: "Premium" | |
| more: "More" | |
| search: "search" | |
| login: "Login" | |
| logout: "Logout" | |
| profile: "Profile" | |
| register: "Register" | |
| welcome: "Welcome" |