Sha256: 954027fa59dccffb48cef742efcd718f162e16367c855ca4a84a4927fa96d747
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
Feature: Brewing a ChemistryKit project Running ckit brew runs the suite of tests. ckit can run in a couple of different ways: 1. Locally 2. With Sauce Ondemand Background: Setup the project Given I run `ckit new booker` And I cd to "booker" And a file named "formulas/bookie.rb" with: """ module Formulas class Bookie def initialize(driver) @driver = driver end def open(url) @driver.get url end end end """ And a file named "beaker/bookie_beaker.rb" with: """ describe "Bookie", :depth => 'shallow' do let(:book) { Formulas::Bookie.new(@driver) } it "loads an external web page" do book.open "http://www.google.com" end end """ Scenario Outline: Run All Configurations When I overwrite _config.yaml with: """ host: '<%= <hostname> %>' sauce_username: 'testing_arrgyle' sauce_api_key: 'ab7a6e17-16df-42d2-9ef6-c8d2539cc38a' """ When I run `ckit brew` Then the stdout should contain "1 example, 0 failures" Examples: | hostname | | "localhost" | # | "saucelabs" |
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
chemistrykit-1.2.0 | features/brew.feature |
chemistrykit-1.1.1 | features/brew.feature |
chemistrykit-1.1.0 | features/brew.feature |
chemistrykit-1.0.0 | features/brew.feature |