diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..b29c54e --- /dev/null +++ b/CHANGES @@ -0,0 +1,5 @@ +Changes from 1.1.4 to 1.1.5 + +dredd-hooks-php command can now accept the flags --port, --host and --force. + +The host and port flags are obviously to override the default of localhost and 61321 respectively. The force flag allows the server to start regardless if some other service is already listening on that port. diff --git a/features/server_configuration.feature b/features/server_configuration.feature new file mode 100644 index 0000000..7dbe4ae --- /dev/null +++ b/features/server_configuration.feature @@ -0,0 +1,14 @@ +Feature: Configuring the server + + @announce + Scenario: Starting the server with --force flag if port is blocked + Given I run `dredd-hooks-php` interactively + When I wait for output to contain "Starting" + Then I run `dredd-hooks-php --force` interactively + + @announce + Scenario: Starting the server on non standard port + Given I run `dredd-hooks-php --port 1123` interactively + When I wait for output to contain "Starting" + Then It should start listening on localhost port "1123" +