Sha256: 884e9553330d7f4bd138add4e0807a02d53a2964c470fbaf82b1aa7754af980d

Contents?: true

Size: 1.54 KB

Versions: 7

Compression:

Stored size: 1.54 KB

Contents

Feature: Representation Type

  As a client
  I want to set the representation type
  So that I can interoperate with foreign operating systems

  Background:
    Given the test server is started

  Scenario: Type ASCII
    Given a successful login
    Then the client successfully sets type "A"

  Scenario: Type IMAGE
    Given a successful login
    Then the client successfully sets type "I"

  Scenario: Type EBCDIC
    Given a successful login
    When the client sets type "E"
    Then the server returns a type not implemented error

  Scenario: Type Local
    Given a successful login
    When the client sets type "L 7"
    Then the server returns a type not implemented error

  Scenario: Invalid Type
    Given a successful login
    When the client sets type "*"
    Then the server returns an invalid type error

  Scenario: Format Telnet
    Given a successful login
    When the client sets type "A T"
    Then the server returns a format not implemented error

  Scenario: Format Carriage Control
    Given a successful login
    When the client sets type "A C"
    Then the server returns a format not implemented error

  Scenario: Invalid Format
    Given a successful login
    When the client sets type "A *"
    Then the server returns an invalid format error

  Scenario: Not logged in
    Given a successful connection
    When the client sets type "S"
    Then the server returns a not logged in error

  Scenario: Missing parameter
    Given a successful login
    When the client sets type with no parameter
    Then the server returns a syntax error

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ftpd-0.3.2 features/ftp_server/type.feature
ftpd-0.3.1 features/ftp_server/type.feature
ftpd-0.2.2 features/ftp_server/type.feature
ftpd-0.2.1 features/ftp_server/type.feature
ftpd-0.2.0 features/ftp_server/type.feature
ftpd-0.1.1 features/ftp_server/type.feature
ftpd-0.1.0 features/ftp_server/type.feature