Sha256: dcd1c734f9f31e9ab000a1bc72f0a61469fb84e163b4d0bc382d486d33e492dc
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
Feature: See router uptime In order to see a router's uptime I want a one-command that print it So I don't have to use a admin program Scenario: App should have a basic UI When I get help for "rut" Then the exit status should be 0 And the banner should be present And there should be a one line summary of what the app does And the banner should include the version And the banner should document that this app takes options And the banner should document that this app's arguments are: |router_ip|which is required| Scenario: Entering valid router ip When I run `rut 10.0.1.1` Then the exit status should be 0 And the output from "rut 10.0.1.1" should contain "has been up" Scenario: Entering invalid router ip When I run `rut 10.0.1.2` Then the exit status should be 1 And the output from "rut 10.0.1.2" should contain "Host 10.0.1.2 not responding" Scenario: Entering an invalid ip When I run `rut invalid` Then the exit status should be 2 And the output from "rut invalid" should contain "invalid is an invalid ip address"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rut-0.0.2 | features/rut.feature |