This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rake file to run integration test via Feature: Fetch apiary.ap…
…ib from API_NAME.apiary.io # This is integration testing you have to set APIARY_API_KEY Scenario: Fetch apiary.apib from API_NAME.apiary.io # features/fetch.feature:4 When I run `apiary fetch --api-name apiaryclienttest` # aruba-0.6.1/lib/aruba/cucumber.rb:93 Then the output should contain the content of file "apiary.apib" # features/step_definitions/file_content_step.rb:1 Feature: Show API documentation in specified browser # This is integration testing you have to set APIARY_API_KEY Scenario: Write generated HTML into specified file # features/preview.feature:4 When I run `apiary preview --path apiary.apib --output=test.html` # aruba-0.6.1/lib/aruba/cucumber.rb:93 Then a file named "test.html" should exist # aruba-0.6.1/lib/aruba/cucumber.rb:307 Feature: Publish apiary.apib on docs.API_NAME.apiary.io # This is integration testing you have to set APIARY_API_KEY Scenario: Publish apiary.apib on docs.API_NAME.apiary.io # features/publish.feature:4 When I run `apiary publish --path=apiary.apib --api-name 1111apiaryclienttest` # aruba-0.6.1/lib/aruba/cucumber.rb:93 Then the exit status should be 1 # aruba-0.6.1/lib/aruba/cucumber.rb:197 Feature: Version of Apiary client Scenario: Print the semantic version of Apiary client # features/version.feature:3 When I run `apiary version` # aruba-0.6.1/lib/aruba/cucumber.rb:93 Then the output should match /^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$/ # aruba-0.6.1/lib/aruba/cucumber.rb:180 And the exit status should be 0 # aruba-0.6.1/lib/aruba/cucumber.rb:197 4 scenarios (4 passed) 9 steps (9 passed) 0m3.871s
- Loading branch information