Sha256: 276f91b0383c9d51e509a2e54d42f24b0c838977799070567a61e429c81404ec

Contents?: true

Size: 1.56 KB

Versions: 3

Compression:

Stored size: 1.56 KB

Contents

Feature: Login

  As a client
  I want to log in
  So that I can transfer files

  Scenario: Normal connection
    Given a successful login
    Then the server returns no error
    And the client should be logged in

  Scenario: Bad user
    Given the server is started
    And the client connects
    When the client logs in with a bad user
    Then the server returns a login incorrect error
    And the client should not be logged in

  Scenario: Bad password
    Given a successful connection
    When the client logs in with a bad password
    Then the server returns a login incorrect error
    And the client should not be logged in

  Scenario: Already logged in
    Given a successful login
    When the client logs in
    Then the server returns a bad sequence error
    And the client should be logged in

  Scenario: PASS when already logged in
    Given a successful login
    When the client sends a password
    Then the server returns a bad sequence error

  Scenario: PASS after failed login
    Given a failed login
    When the client sends a password
    Then the server returns a bad sequence error

  Scenario: PASS without USER
    Given a successful connection
    And the client sends a password
    Then the server returns a bad sequence error

  Scenario: PASS without parameter
    Given a successful connection
    And the client sends a password with no parameter
    Then the server returns a syntax error

  Scenario: USRE without parameter
    Given a successful connection
    And the client sends a user with no parameter
    Then the server returns a syntax error

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ftpd-0.0.1.pre features/login.feature
ftpd-0.0.0.pre2 features/login.feature
ftpd-0.0.0.pre1 features/login.feature