Sha256: e81cb100fd85a453bb44ed550a5930a52a8bb930158c76ceab32973b85ccd5a8

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

Feature: Setup a Cocoa app with choctop
  In order to reduce cost of using Sparkle to generate appcasts
  As a Cocoa developer or Cocoa application deployer
  I want a generator to install rake tasks that make using Sparkle easy-peasy
  
  Scenario: Install choctop into an app that has no existing Rakefile
    Given a Cocoa app that does not have an existing Rakefile
    When I run local executable 'install_choctop' with arguments '.'
    And Rakefile wired to use development code instead of installed RubyGem
    Then file 'Rakefile' is created
    And output does match /rake build/
    And output does match /rake upload/
  
  Scenario: Install choctop into an app that has an existing Rakefile
    Given a Cocoa app that does have an existing Rakefile
    When I run local executable 'install_choctop' with arguments '.'
    And Rakefile wired to use development code instead of installed RubyGem
    And output does match /choctop added to your Rakefile/
    And output does match /rake build/
    And output does match /rake upload/
  
  Scenario: Run 'install_choctop' without arguments shows an error
    Given a Cocoa app that does not have an existing Rakefile
    When I run local executable 'install_choctop' with arguments ''
    Then output does match /USAGE: install_choctop path\/to\/CocoaApp/
  
  Scenario: Install choctop and generate a ReleaseNotes file
    Given a Cocoa app that does not have an existing Rakefile
    When I run local executable 'install_choctop' with arguments '.'
    Then file 'ReleaseNotes.txt' is created
    And contents of file 'ReleaseNotes.txt' does match /Initial release/
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
choctop-0.9.3 features/initial_generator.feature