Sha256: ea31d5c9e5c0917407032b6bf789df111334bb2fceeae66aa08f619ee8641b27

Contents?: true

Size: 630 Bytes

Versions: 5

Compression:

Stored size: 630 Bytes

Contents

Feature: Starting and stopping a client application

  @basic
  Scenario: The simplest thing that could work
    Given a file named "simple.rb" with mode "0755" and with:
      """ruby
      require 'vedeu'

      class VedeuTestApp
        include Vedeu

        configure do
          debug!
          log '/tmp/vedeu_test_helper.log'
        end

        def self.start(argv = ARGV)
          Vedeu::Launcher.new(argv).execute!
        end
      end

      VedeuTestApp.start(ARGV)
      """
    When I run `ruby simple.rb` interactively
    And I type "q"
    And I close the stdin stream
    Then the exit status should be 1

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.3.4 features/start_stop.feature
vedeu-0.3.3 features/start_stop.feature
vedeu-0.3.2 features/start_stop.feature
vedeu-0.3.1 features/start_stop.feature
vedeu-0.3.0 features/start_stop.feature