Sha256: 9ee3f1c05b89b4adadb942ef2249de90320da1c21dca3742f13baf6560852a77

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

Feature: Port

  As a programmer
  I want good error messages
  So that I can correct problems

  Background:
    Given the test server is started

  Scenario: Port 1024
    Given a successful login
    Then the client successfully sends "PORT 1,2,3,4,4,0"

  Scenario: Port 1023; low ports disallowed
    Given the test server disallows low data ports
    And a successful login
    When the client sends "PORT 1,2,3,4,3,255"
    Then the server returns an unimplemented parameter error

  Scenario: Port 1023; low ports allowed
    Given the test server allows low data ports
    And a successful login
    Then the client successfully sends "PORT 1,2,3,4,3,255"

  Scenario: Not logged in
    Given a successful connection
    When the client sends PORT "1,2,3,4,5,6"
    Then the server returns a not logged in error

  Scenario: Incorrect number of bytes
    Given a successful login
    When the client sends PORT "1,2,3,4,5"
    Then the server returns a syntax error

  Scenario: Ill formatted byte
    Given a successful login
    When the client sends PORT "1,2,3,4,5,0006"
    Then the server returns a syntax error

  Scenario: Byte out of range
    Given a successful login
    When the client sends PORT "1,2,3,4,5,256"
    Then the server returns a syntax error

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ftpd-0.7.1 features/ftp_server/port.feature
ftpd-0.8.0 features/ftp_server/port.feature
ftpd-0.7.0 features/ftp_server/port.feature
ftpd-0.6.0 features/ftp_server/port.feature
ftpd-0.5.0 features/ftp_server/port.feature