Permalink
Browse files

init commit

  • Loading branch information...
0 parents commit 7a8c66bb9d0efc175613cf63ae6c8334aada4393 @siuying committed Mar 15, 2012
@@ -0,0 +1 @@
+.DS_Store
@@ -0,0 +1,5 @@
+!SLIDE huge
+# Cucumber #
+
+!SLIDE
+## What is Cucumber? ##
@@ -0,0 +1,97 @@
+!SLIDE
+## 1. Describe Your Software ##
+
+ @@@ ruby
+ Feature:
+ As a student
+ I want to input numbers to
+ calculator
+ So I can calculate
+
+ Scenario: Input Number
+ Given I launch the app
+ When I press "1" button
+ When I press "2" button
+ When I press "3" button
+ Then I see "123" on display
+
+!SLIDE
+## 2. Write Steps in Ruby ##
+
+ @@@ ruby
+ When /^I press "([^"]*)" button$/ do |name|
+ calculator.press(name)
+ end
+
+!SLIDE
+## 3. Run and Watch it Fail ##
+
+ @@@ ruby
+ $ cucumber
+
+!SLIDE
+## 4. Write code to make it pass ##
+
+ @@@ ruby
+ class Calculator
+ def press(number)
+ @display << number
+ end
+ end
+
+!SLIDE
+## 5. Run again and see it pass ##
+
+ @@@ ruby
+ $ cucumber
+
+
+!SLIDE
+## 6. Go to step #1 and start again
+
+(write more features!)
+
+!SLIDE
+
+.huge BDD
+
+!SLIDE
+
+.bigger Behavior Driven Development
+
+!SLIDE
+# Describe how software should work in code #
+## Not documents! ##
+
+!SLIDE
+# Human Readable #
+## Your users can read it ##
+
+!SLIDE
+
+ @@@ ruby
+ Feature:
+ As a student
+ I want to input numbers to
+ calculator
+ So I can calculate
+
+ Scenario: Input Number
+ Given I launch the app
+ When I press "1" button
+ When I press "2" button
+ When I press "3" button
+ Then I see "123" on display
+
+!SLIDE
+
+# Cucumber #
+## http://cukes.info/ ##
+
+!SLIDE
+
+.bigger but
+
+!SLIDE
+
+.bigger what about iOS?
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
+/* Slide specific styles */
@@ -0,0 +1,46 @@
+/* The Yanone-Kaffeesatz font is Yanone's http://www.yanone.de/ */
+@font-face {
+ font-family: YanoneKaffeesatz;
+ src: url("fonts/YanoneKaffeesatz-Regular.ttf") format("truetype");
+}
+@font-face {
+ font-family: YanoneKaffeesatz;
+ src: url("fonts/YanoneKaffeesatz-Bold.ttf") format("truetype");
+ font-weight: bold;
+}
+
+/* Overall Style */
+.slide {
+ background: #fff;
+ color: #000;
+}
+
+#preso {
+ font-family: YanoneKaffeesatz, Helvetica, Arial, sans-serif;
+}
+
+h1 {
+ font-size: 8em;
+}
+
+h2 {
+ font-size: 6em;
+}
+
+code {
+ font-size: 0.65em;
+}
+
+.content > p.huge {
+ font-size: 18em;
+ line-height: 1em;
+}
+
+.content > p.bigger {
+ font-size: 12em;
+ line-height: 0.8em;
+}
+
+.ign {
+ color: #FE6500;
+}
@@ -0,0 +1,20 @@
+!SLIDE
+# iOS Automated <br>Acceptance Test with Cucumber and Frank #
+
+## Francis Chong @ Ignition Soft ##
+
+!SLIDE
+# Agenda #
+
+* Test
+* Cucumber
+* Frank
+* Demo
+
+!SLIDE
+# Test #
+
+!SLIDE
+![](dont_test.png)
+
+!SLIDE
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,7 @@
+{
+ "name": "iOS Automated Acceptance Test with Cucumber and Frank ",
+ "sections": [
+ {"section": "intro"},
+ {"section": "cucumber"}
+ ]
+}

0 comments on commit 7a8c66b

Please sign in to comment.