Sha256: 44088da652818ec2059cbc110c564bda45d05d2123b6aae48bb25bc0145c64c1

Contents?: true

Size: 714 Bytes

Versions: 9

Compression:

Stored size: 714 Bytes

Contents

Feature: "Hello Trema!" sample application

  In order to learn how to write minimum Trema application
  As a developer using Trema
  I want to execute "Hello Trema" sample application

  Background:
    Given a file named "hello.conf" with:
      """
      vswitch { datapath_id "0xabc" }
      """

  @slow_process
  Scenario: Run "Hello Trema!" C example
    When I run `trema run ../../objects/examples/hello_trema/hello_trema -c hello.conf`
    Then the output should contain exactly "Hello 0xabc!\n"

  @slow_process
  Scenario: Run "Hello Trema!" Ruby example
    When I run `trema run ../../src/examples/hello_trema/hello-trema.rb -c hello.conf`
    Then the output should contain exactly "Hello 0xabc!\n"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trema-0.3.5 features/example.hello_trema.feature
trema-0.3.4 features/example.hello_trema.feature
trema-0.3.3 features/example.hello_trema.feature
trema-0.3.2 features/example.hello_trema.feature
trema-0.3.1 features/example.hello_trema.feature
trema-0.3.0 features/example.hello_trema.feature
trema-0.2.8 features/example.hello_trema.feature
trema-0.2.7 features/example.hello_trema.feature
trema-0.2.6 features/example.hello_trema.feature