Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Creating a Silex application from Gherkin feature file
branch: master

initial import

latest commit fdff75f0f9
Gonzalo Ayuso authored
Failed to load latest commit information.
lib/Api initial import
www initial import
.gitignore initial import
README.md initial import
composer.json initial import

README.md

Create a Silex application from this file:

Feature: application API

     Scenario: List users
       Given url "/api/users/list.json"
       And request method is "GET"
       Then instance "\Api\Users"
       And execute function "listUsers"
       And format output into json

     Scenario: Get user info
       Given url "/api/user/{userName}.json"
       And request method is "GET"
       Then instance "\Api\User"
       And execute function "info"
       And format output into json

     Scenario: Update user information
       Given url "/api/user/{userName}.json"
       And request method is "POST"
       Then instance "\Api\User"
       And execute function "update"
       And format output into json

Something went wrong with that request. Please try again.