aruba-obfusk - aruba extensions
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/aruba
.gitignore
.yardopts
README.md
Rakefile
aruba-obfusk.gemspec

README.md

File        : README.md
Maintainer  : Felix C. Stegerman <flx@obfusk.net>
Date        : 2013-09-10

Copyright   : Copyright (C) 2013  Felix C. Stegerman
Version     : v0.0.1.SNAPSHOT

Description

aruba-obfusk - aruba extensions

...

Examples

Scenario Outline:
  When  I run `some command` with:
    | --foo | <foo> |
    | --bar | <bar> |
  Then  it should succeed
  And   the last stdout should match:
    """
    \A==> Doing something \.\.\.
    ==> Done\.
    \Z
    """
  When  I run `some <command>`
  Then  it should fail
  Examples:
    | foo   | bar   | command |
    | one   | two   | three   |
    | four  | five  | six     |
When  I run `echo $FOO` with bash
Then  it should succeed
And   the last stdout should match:
  """
  \Afoo bar baz
  \Z
  """
When  I run `some command`
Then  it should succeed
And   the last stdout should be:
  """
  ...

  """
When  I run `some failing command`
Then  the exit status should be 1
And   the last stderr should be:
  """
  Error: oops

  """
When  ...
And   I sleep 5 seconds
Then  ...

Specs & Docs

$ rake spec # TODO
$ rake docs

TODO

  • more specs/docs?
  • ...

License

GPLv2 [1] or EPLv1 [2].

References

[1] GNU General Public License, version 2 --- http://www.opensource.org/licenses/GPL-2.0

[2] Eclipse Public License, version 1 --- http://www.opensource.org/licenses/EPL-1.0