Feature: Test command In order to run tests written with shpec As a user of Busser I want my tests to run when the shpec runner plugin is installed Background: Given a test BUSSER_ROOT directory named "busser-shpec-test" When I successfully run `busser plugin install busser-shpec --force-postinstall` Given a suite directory named "shpec" Scenario: A passing test suite Given a file in suite "shpec" named "default_shpec.sh" with: """ describe "basic operations" it "asserts equality" assert equal "foo" "foo" end_describe """ When I run `busser test shpec` Then the exit status should be 0 Scenario: A failing test suite Given a file in suite "shpec" named "default_shpec.sh" with: """ describe "basic operations" it "asserts greater than" assert gt 1 99 end_describe """ When I run `busser test shpec` Then the exit status should not be 0