Sha256: 88c732f3e6c2d2f0478520d31c08764e5d49c0f2b5445636f99b4e09da63f180

Contents?: true

Size: 969 Bytes

Versions: 7

Compression:

Stored size: 969 Bytes

Contents

Feature: Command line interface

  In order to create cross platform mobile apps
  As a mobile developer
  I want an easy to use command line tool

  Scenario: Command-line validations
    When I run `calatrava create`
    Then the output should contain "calatrava create requires at least 1 argument"
    When I run `calatrava create project --template nonexistentdirectory`
    Then the output should contain "template must exist"
    Given an empty file named "alt-template-file"
    When I run `calatrava create project --template alt-template-file`
    Then the output should contain "template must be a directory"

  Scenario: Android command-line parameters
    When I run `calatrava create droid_test --android-api 17`
    Then the exit status should be 0
    And  a file named "droid_test/droid/droid_test/project.properties" should exist
    And  the file "droid_test/droid/droid_test/project.properties" should contain:
    """
    target=android-17
    """

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
calatrava-0.6.10 features/cli.feature
calatrava-0.6.9 features/cli.feature
calatrava-0.6.8 features/cli.feature
calatrava-0.6.7 features/cli.feature
calatrava-0.6.6 features/cli.feature
calatrava-0.6.5 features/cli.feature
calatrava-0.6.4 features/cli.feature