Sha256: ee9952ceabfba004ea7dea65c848e20002ced03d3d3bc2f3b7758e5d7a60c9d5
Contents?: true
Size: 1.82 KB
Versions: 31
Compression:
Stored size: 1.82 KB
Contents
Feature: Create new project As a lead developer I want to use fwt to create a new Xcode project So that the structure of the project is compliant with FW's standards Background: Given a configured installation of FWToolkit for "Tom the Dev" working for "Awesome Company" @xcode Scenario: Create a new project When I successfully run `fwt xcode new MyProject AAA` Then I cd to "MyProject" And the following directories should exist: | MyProject.xcworkspace | | MyProject/MyProject.xcodeproj | | MyProject/MyProject/Supporting Files/Settings.bundle | | MyProject/Myproject/Supporting Files/en.lproj | | MyProject/MyprojectTests/Supporting Files/en.lproj | And the following files should exist: | MyProject/MyProject/AAAAppDelegate.h | | MyProject/MyProject/AAAAppDelegate.m | | MyProject/MyProject/Supporting Files/MyProject-Info.plist | | MyProject/MyProject/Supporting Files/MyProject-Prefix.pch | | MyProject/MyProject/Supporting Files/fw-shared.xcconfig | | MyProject/MyProject/Supporting Files/main.m | | MyProject/MyProject/Supporting Files/version.sh | | MyProject/MyProjectTests/Supporting Files/MyProjectTests-Info.plist | | MyProject/MyProjectTests/MyProjectTests.h | | MyProject/MyProjectTests/MyProjectTests.m | | MyProject/Resources/Default.png | | MyProject/Resources/Default@2x.png | | MyProject/Resources/Default-568h@2x.png | And I successfully run `xcodebuild -scheme MyProject -workspace MyProject.xcworkspace -sdk iphonesimulator6.0` @xcode Scenario: Fails to create a new project is the project dir is not empty Given a directory named "MyProject" When I run `fwt xcode new MyProject AAA` Then the stderr should contain: """ Can't create the project. The directory """
Version data entries
31 entries across 31 versions & 1 rubygems