The document discusses achieving testing nirvana through test-driven development (TDD). It states that TDD involves writing tests before code, which provides confidence in the code and allows being more productive. It describes three levels of enlightenment through TDD: 1) tests answer "How" and provide access to testing, refactoring, and automation tools; 2) TDD is about design and tests answer "What"; 3) tests are behavior-driven development (BDD) specs in a domain-specific language (DSL), making them less brittle.
Visual Testing: Turbo-Charge Your Functional Tests with Visual Powers in Just...Applitools
** Watch the full recording here: **
Learn how to implement visual testing on your existing test suite, to increase coverage and ensure your UI is bug-free when it's released to the wild.
"You don’t get a second chance to make a first impression!
Join me for this hands-on session, where I will take existing tests and add to them visual testing capabilities that will allow you to test what your app looks like, and not only how it behaves. I promise: all this goodness - in just 8 lines of code!"
- Gil Tayar, Sr. Software Architect @ Applitools
======
Automated tests are great at testing *functionality*, but do they check how your app appears to the end user? Do they check that the "submit" button is aligned with the edit box? Do they check that the background color is that perfect shade of pale? NOPE!
What if we told you that in 8 lines of code, you can add vision to your existing tests, and check how your app appears to your users, and not just how it behaves.
Moreover, once you add vision to your existing tests, you can supercharge your functional checks and check the whole page in one big assertion.
Watch this step-by-step and very hands-on session, and learn:
-- What visual testing is and how it can augment your existing regression automation test suite
-- How you can enhance your existing functional tests with visual testing
-- How easy it is to write code that visually tests an entire application
Continuous Deployment at Scale, PHPConfAsia 2016Premshree Pillai
At Etsy our approach to development is to make small, incremental, continuous changes to the site. Deploying code to production anywhere between 20 to 40 times a day requires not only technical tooling, but also a culture that allows for and encourages innovation, confidence backed by actual data and comprehensive tests, and blameless post-mortems that allow for a feedback loop we can learn from and improve.
Learn about the tools we have, and how we foster an environment where we make this possible.
Visual Testing: Turbo-Charge Your Functional Tests with Visual Powers in Just...Applitools
** Watch the full recording here: **
Learn how to implement visual testing on your existing test suite, to increase coverage and ensure your UI is bug-free when it's released to the wild.
"You don’t get a second chance to make a first impression!
Join me for this hands-on session, where I will take existing tests and add to them visual testing capabilities that will allow you to test what your app looks like, and not only how it behaves. I promise: all this goodness - in just 8 lines of code!"
- Gil Tayar, Sr. Software Architect @ Applitools
======
Automated tests are great at testing *functionality*, but do they check how your app appears to the end user? Do they check that the "submit" button is aligned with the edit box? Do they check that the background color is that perfect shade of pale? NOPE!
What if we told you that in 8 lines of code, you can add vision to your existing tests, and check how your app appears to your users, and not just how it behaves.
Moreover, once you add vision to your existing tests, you can supercharge your functional checks and check the whole page in one big assertion.
Watch this step-by-step and very hands-on session, and learn:
-- What visual testing is and how it can augment your existing regression automation test suite
-- How you can enhance your existing functional tests with visual testing
-- How easy it is to write code that visually tests an entire application
Continuous Deployment at Scale, PHPConfAsia 2016Premshree Pillai
At Etsy our approach to development is to make small, incremental, continuous changes to the site. Deploying code to production anywhere between 20 to 40 times a day requires not only technical tooling, but also a culture that allows for and encourages innovation, confidence backed by actual data and comprehensive tests, and blameless post-mortems that allow for a feedback loop we can learn from and improve.
Learn about the tools we have, and how we foster an environment where we make this possible.
BDD to the Bone: Using Behave and Selenium to Test-Drive Web ApplicationsPatrick Viafore
Talk about Behavior-driven Development, Behave, Selenium and Python
Project is found at https://github.com/pviafore/BddToTheBone
Presented at PyTennessee 2017
YouTube video -> https://youtu.be/H2FuJYlbzDg
PhpSpec is a SpecBDD tool that enables you to use a TDD workflow that can transform the way you write PHP. In this session we will look at the TDD workflow and see how PhpSpec can be used to speed up your development; add regression safety, and improve your object-oriented design.
Outside-in Development with Cucumber and RspecJoseph Wilk
Talk given by Joseph Wilk at Scotland on Rails 2009. Examines how Cucumber and Rspec fit together in the testing workflow, how and why Cucumber is useful and how it works. Walks through a simple example based on renting DVDs showing how to use Cucumber and some of the best practices. Looks at how Webrat can drive Selenium to in-turn drive Cucumber features through the browser.
Continuous Deployment at Scale, Baltic DevOps 2016Premshree Pillai
At Etsy our approach to development is to make small, incremental, continuous changes to the site. Deploying code to production anywhere between 20 to 40 times a day requires not only technical tooling, but also a culture that allows for and encourages innovation, confidence backed by actual data and comprehensive tests, and blameless post-mortems that allow for a feedback loop we can learn from and improve.
Learn about the tools we have, and how we foster an environment where we make this possible.
Presented at dev.Objective() http://www.devobjective.com/
May 14, 2015
11:30 AM - 12:30 PM
More info and resources related to presentation available here
http://www.gpickin.com/devobj2015/testablejavascript/
Everyone who wasn't writing JavaScript, probably is now. Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript. That's great, but how do we test it. In ColdFusion we have CFCs, most languages have classes... but JavaScript doesn't have classes (yet). So how do I write unit tests, what units are there, and how do I make my code look like that.
JavaScript is a flexible language, and with great flexibility comes great complexity and responsibility. Take your JavaScript spaghetti and make it unit testable.
Attendees will learn
Different types and ways to test JavaScript
Structuring your JavaScript to be unit testable
Overview of testing tools
Building testing into your workflow
You are one of many that are not testing your JavaScript
Attendees should have some exposure to JavaScript, but this is for the Professional Newbie... who always needs to learn and adapt.
Getting Started with Test Automation: Introduction to Cucumber with Lapis LazuliRebecca Eloise Hogg
Introduction to web testing with Cucumber using spriteCloud's Lapis Lazuli Cucumber helper.
This presentation will take you through the steps needed to set up a test automation project using Cucumber - a software tool that runs automated tests in the BBD style - in combination with Lapis Lazuli, a gem that provides Cucumber helper functions and scaffolding for easier web test automation suite development.
To do this you will need to have installed Ruby with some drivers and libraries. You can find detailed notes on how to do this here: http://www.testautomation.info/Getting_Started
To successfully follow this tutorial, prior knowledge of test automation isn’t needed, but knowledge of scripting - especially Ruby - and HTML skills are recommended.
Lapus Lazuli's GitHub depository: https://github.com/spriteCloud/lapis-lazuli
For more information about everything test automation, whether you need someone to help you set up TA in your organisation or want to find out more about our Test Automation as a Service options, email: info@spritecloud.com.
iOSDevCamp 2011 - Getting "Test"-y: Test Driven Development & Automated Deplo...Rudy Jahchan
Great testing and deployment tools already exist for web platforms like Rails; now it is iOS' turn! What's out there, where can you get it, how do you use it ... and where do we go from here?
BDD to the Bone: Using Behave and Selenium to Test-Drive Web ApplicationsPatrick Viafore
Talk about Behavior-driven Development, Behave, Selenium and Python
Project is found at https://github.com/pviafore/BddToTheBone
Presented at PyTennessee 2017
YouTube video -> https://youtu.be/H2FuJYlbzDg
PhpSpec is a SpecBDD tool that enables you to use a TDD workflow that can transform the way you write PHP. In this session we will look at the TDD workflow and see how PhpSpec can be used to speed up your development; add regression safety, and improve your object-oriented design.
Outside-in Development with Cucumber and RspecJoseph Wilk
Talk given by Joseph Wilk at Scotland on Rails 2009. Examines how Cucumber and Rspec fit together in the testing workflow, how and why Cucumber is useful and how it works. Walks through a simple example based on renting DVDs showing how to use Cucumber and some of the best practices. Looks at how Webrat can drive Selenium to in-turn drive Cucumber features through the browser.
Continuous Deployment at Scale, Baltic DevOps 2016Premshree Pillai
At Etsy our approach to development is to make small, incremental, continuous changes to the site. Deploying code to production anywhere between 20 to 40 times a day requires not only technical tooling, but also a culture that allows for and encourages innovation, confidence backed by actual data and comprehensive tests, and blameless post-mortems that allow for a feedback loop we can learn from and improve.
Learn about the tools we have, and how we foster an environment where we make this possible.
Presented at dev.Objective() http://www.devobjective.com/
May 14, 2015
11:30 AM - 12:30 PM
More info and resources related to presentation available here
http://www.gpickin.com/devobj2015/testablejavascript/
Everyone who wasn't writing JavaScript, probably is now. Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript. That's great, but how do we test it. In ColdFusion we have CFCs, most languages have classes... but JavaScript doesn't have classes (yet). So how do I write unit tests, what units are there, and how do I make my code look like that.
JavaScript is a flexible language, and with great flexibility comes great complexity and responsibility. Take your JavaScript spaghetti and make it unit testable.
Attendees will learn
Different types and ways to test JavaScript
Structuring your JavaScript to be unit testable
Overview of testing tools
Building testing into your workflow
You are one of many that are not testing your JavaScript
Attendees should have some exposure to JavaScript, but this is for the Professional Newbie... who always needs to learn and adapt.
Getting Started with Test Automation: Introduction to Cucumber with Lapis LazuliRebecca Eloise Hogg
Introduction to web testing with Cucumber using spriteCloud's Lapis Lazuli Cucumber helper.
This presentation will take you through the steps needed to set up a test automation project using Cucumber - a software tool that runs automated tests in the BBD style - in combination with Lapis Lazuli, a gem that provides Cucumber helper functions and scaffolding for easier web test automation suite development.
To do this you will need to have installed Ruby with some drivers and libraries. You can find detailed notes on how to do this here: http://www.testautomation.info/Getting_Started
To successfully follow this tutorial, prior knowledge of test automation isn’t needed, but knowledge of scripting - especially Ruby - and HTML skills are recommended.
Lapus Lazuli's GitHub depository: https://github.com/spriteCloud/lapis-lazuli
For more information about everything test automation, whether you need someone to help you set up TA in your organisation or want to find out more about our Test Automation as a Service options, email: info@spritecloud.com.
iOSDevCamp 2011 - Getting "Test"-y: Test Driven Development & Automated Deplo...Rudy Jahchan
Great testing and deployment tools already exist for web platforms like Rails; now it is iOS' turn! What's out there, where can you get it, how do you use it ... and where do we go from here?
North Virginia Coldfusion User Group Meetup - Testbox - July 19th 2017Ortus Solutions, Corp
Testbox is a tool we all should be using to test our ColdFusion Applications which was created and is maintained by Ortus Solutions, the people that brought you ColdBox. We will have Gavin from Ortus in house on this day to go over some testbox examples, talk about its importance, and answer any questions you have.
SO --- if you have and high level questions for Gavin, reply to this post (or hit me up) so I can get the questions to Gavin a head of time just in case he needs to consult others at Ortus.
Gavin Pickin is a proud ColdFusion developer, starting with ColdFusion in the late 90s. Now working with Ortus Solutions, a leading force in CFML Development frameworks and tools, Gavin gets to work on a lot of great projects, for a big variety of clients. At Ortus Solutions, a big focus is on free and open source tools, on open source Fridays, Gavin spend most of his open source time working on ContentBox Content Management System.
Writing Commits for You, Your Friends, and Your Future SelfAll Things Open
Presented at Open Source 101 2022
Presented by Victoria Dye, GitHub
Abstract: For many developers, a Git commit is just a step in their source control ritual: an arbitrary save point at the end of a work day, the Nth attempt at finding the right syntax for a CI workflow, or a satisfying bookend to fixing a bug. But commits provide far more than that: they tell the story of how each line of code was created and modified. Despite their unassuming nature, they are one of the best ways to answer the question "why did I write that?"
The story told by a repository's commit history is both richer and more essential in the open source world. Well-structured commits can guide you in the implementation of a new feature, break down complex reviews into easily-digestible increments, and provide an invaluable resource to future contributors hoping to extend functionality or find the root cause of a bug.
This talk will show how high-quality commit organization can benefit you now and in the future. First, we will introduce strategies and tools to tell a clear story through commits. Later, we will demonstrate how to use an informative commit history while reviewing code and investigating bugs.
TDD is now mainstream but a lot people don't know or don't remember what is its purpose. TDD is about software design not testing or catching bug. TDD helps developers to shape and create software with "good" design, what is a "good" design is something that we will discuss in the topic.
QA in DevOps Methodologies - a proposal integrating BDD+Selenium, and their integration with QA.
DevOps methodologies are not adverse to QA and more generally to V-Model. What I intend to do now is to offer you a different working method starting from a tool designed for software development and its use within our current work cycle.
Concise guide to starting with Behat.
Covers:
* What is Behat?
* How do you get started with Behat?
* How to write tests?
* How to write good tests!
How to write portable tests, and other common problems.
Does Behaviour Driven Development have a role in the infrastructure world? Enter Behaviour Driven Infrastructure where systems administrators can apply some simple open source tools and BDD principles to make infrastructure management more powerful, more insightful and deliver more value to their customers.
The typical enterprise monitoring and configuration management set-up for a website is:
- Is the Apache package installed and the appropriate version?
- Is the Apache service running?
- Can I connect to the HTTP port and is HTML returned?
- Multiply this by a few hundred iterations of hosts and types of services and you’re probably looking at your typical Nagios, Puppet, Cfengine, Hyperic set-up.
All this monitoring misses something critical though – we’re not actually monitoring that the service does what it should. Yes, it matters whether Apache is installed, the Apache service is running, and you can connect to HTTP but does this actually prove anything about the availability of the service we’re managing and providing for our customers? Nope…
We need to demonstrate more than just a check that says the Apache server is up. We need to demonstrate that the service delivered by that infrastructure was available to our customers AND functioning as intended.
Enter Behaviour Driven Infrastructure or BDI which applies the principles of Behavioural Driven Development to the management of infrastructure. In this presentation you’ll learn:
- How Behaviour Driven Development works
- What makes a behavioural test
- How to install and use Cucumber to perform BDI
- Practical examples of behavioural tests in Cucumber, and
- How to integrate BDI into your work flow and your enterprise monitoring and configuration management frameworks.
Behat internals for advanced usage. Symfony Camp 2016Sergey Polischook
Part 1. Common understanding Behat and BDD
Part 2. Internal implementations of Behat Core and Behat Extensions
Part 3. Current implementation of Behat in OroCRM
At Etsy our approach to development is to make small, incremental, continuous changes to the site. Deploying code to production anywhere between 20 to 40 times a day requires not only technical tooling, but also a culture that allows for and encourages innovation, confidence backed by actual data and comprehensive tests, and blameless post-mortems that allow for a feedback loop we can learn from and improve.
Learn about the tools we have, and how we foster an environment where we make this possible.
Cracking the Workplace Discipline Code Main.pptxWorkforce Group
Cultivating and maintaining discipline within teams is a critical differentiator for successful organisations.
Forward-thinking leaders and business managers understand the impact that discipline has on organisational success. A disciplined workforce operates with clarity, focus, and a shared understanding of expectations, ultimately driving better results, optimising productivity, and facilitating seamless collaboration.
Although discipline is not a one-size-fits-all approach, it can help create a work environment that encourages personal growth and accountability rather than solely relying on punitive measures.
In this deck, you will learn the significance of workplace discipline for organisational success. You’ll also learn
• Four (4) workplace discipline methods you should consider
• The best and most practical approach to implementing workplace discipline.
• Three (3) key tips to maintain a disciplined workplace.
Enterprise Excellence is Inclusive Excellence.pdfKaiNexus
Enterprise excellence and inclusive excellence are closely linked, and real-world challenges have shown that both are essential to the success of any organization. To achieve enterprise excellence, organizations must focus on improving their operations and processes while creating an inclusive environment that engages everyone. In this interactive session, the facilitator will highlight commonly established business practices and how they limit our ability to engage everyone every day. More importantly, though, participants will likely gain increased awareness of what we can do differently to maximize enterprise excellence through deliberate inclusion.
What is Enterprise Excellence?
Enterprise Excellence is a holistic approach that's aimed at achieving world-class performance across all aspects of the organization.
What might I learn?
A way to engage all in creating Inclusive Excellence. Lessons from the US military and their parallels to the story of Harry Potter. How belt systems and CI teams can destroy inclusive practices. How leadership language invites people to the party. There are three things leaders can do to engage everyone every day: maximizing psychological safety to create environments where folks learn, contribute, and challenge the status quo.
Who might benefit? Anyone and everyone leading folks from the shop floor to top floor.
Dr. William Harvey is a seasoned Operations Leader with extensive experience in chemical processing, manufacturing, and operations management. At Michelman, he currently oversees multiple sites, leading teams in strategic planning and coaching/practicing continuous improvement. William is set to start his eighth year of teaching at the University of Cincinnati where he teaches marketing, finance, and management. William holds various certifications in change management, quality, leadership, operational excellence, team building, and DiSC, among others.
Digital Transformation and IT Strategy Toolkit and TemplatesAurelien Domont, MBA
This Digital Transformation and IT Strategy Toolkit was created by ex-McKinsey, Deloitte and BCG Management Consultants, after more than 5,000 hours of work. It is considered the world's best & most comprehensive Digital Transformation and IT Strategy Toolkit. It includes all the Frameworks, Best Practices & Templates required to successfully undertake the Digital Transformation of your organization and define a robust IT Strategy.
Editable Toolkit to help you reuse our content: 700 Powerpoint slides | 35 Excel sheets | 84 minutes of Video training
This PowerPoint presentation is only a small preview of our Toolkits. For more details, visit www.domontconsulting.com
Attending a job Interview for B1 and B2 Englsih learnersErika906060
It is a sample of an interview for a business english class for pre-intermediate and intermediate english students with emphasis on the speking ability.
Memorandum Of Association Constitution of Company.pptseri bangash
www.seribangash.com
A Memorandum of Association (MOA) is a legal document that outlines the fundamental principles and objectives upon which a company operates. It serves as the company's charter or constitution and defines the scope of its activities. Here's a detailed note on the MOA:
Contents of Memorandum of Association:
Name Clause: This clause states the name of the company, which should end with words like "Limited" or "Ltd." for a public limited company and "Private Limited" or "Pvt. Ltd." for a private limited company.
https://seribangash.com/article-of-association-is-legal-doc-of-company/
Registered Office Clause: It specifies the location where the company's registered office is situated. This office is where all official communications and notices are sent.
Objective Clause: This clause delineates the main objectives for which the company is formed. It's important to define these objectives clearly, as the company cannot undertake activities beyond those mentioned in this clause.
www.seribangash.com
Liability Clause: It outlines the extent of liability of the company's members. In the case of companies limited by shares, the liability of members is limited to the amount unpaid on their shares. For companies limited by guarantee, members' liability is limited to the amount they undertake to contribute if the company is wound up.
https://seribangash.com/promotors-is-person-conceived-formation-company/
Capital Clause: This clause specifies the authorized capital of the company, i.e., the maximum amount of share capital the company is authorized to issue. It also mentions the division of this capital into shares and their respective nominal value.
Association Clause: It simply states that the subscribers wish to form a company and agree to become members of it, in accordance with the terms of the MOA.
Importance of Memorandum of Association:
Legal Requirement: The MOA is a legal requirement for the formation of a company. It must be filed with the Registrar of Companies during the incorporation process.
Constitutional Document: It serves as the company's constitutional document, defining its scope, powers, and limitations.
Protection of Members: It protects the interests of the company's members by clearly defining the objectives and limiting their liability.
External Communication: It provides clarity to external parties, such as investors, creditors, and regulatory authorities, regarding the company's objectives and powers.
https://seribangash.com/difference-public-and-private-company-law/
Binding Authority: The company and its members are bound by the provisions of the MOA. Any action taken beyond its scope may be considered ultra vires (beyond the powers) of the company and therefore void.
Amendment of MOA:
While the MOA lays down the company's fundamental principles, it is not entirely immutable. It can be amended, but only under specific circumstances and in compliance with legal procedures. Amendments typically require shareholder
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...BBPMedia1
Grote partijen zijn al een tijdje onderweg met retail media. Ondertussen worden in dit domein ook de kansen zichtbaar voor andere spelers in de markt. Maar met die kansen ontstaan ook vragen: Zelf retail media worden of erop adverteren? In welke fase van de funnel past het en hoe integreer je het in een mediaplan? Wat is nu precies het verschil met marketplaces en Programmatic ads? In dit half uur beslechten we de dilemma's en krijg je antwoorden op wanneer het voor jou tijd is om de volgende stap te zetten.
Buy Verified PayPal Account | Buy Google 5 Star Reviewsusawebmarket
Buy Verified PayPal Account
Looking to buy verified PayPal accounts? Discover 7 expert tips for safely purchasing a verified PayPal account in 2024. Ensure security and reliability for your transactions.
PayPal Services Features-
🟢 Email Access
🟢 Bank Added
🟢 Card Verified
🟢 Full SSN Provided
🟢 Phone Number Access
🟢 Driving License Copy
🟢 Fasted Delivery
Client Satisfaction is Our First priority. Our services is very appropriate to buy. We assume that the first-rate way to purchase our offerings is to order on the website. If you have any worry in our cooperation usually You can order us on Skype or Telegram.
24/7 Hours Reply/Please Contact
usawebmarketEmail: support@usawebmarket.com
Skype: usawebmarket
Telegram: @usawebmarket
WhatsApp: +1(218) 203-5951
USA WEB MARKET is the Best Verified PayPal, Payoneer, Cash App, Skrill, Neteller, Stripe Account and SEO, SMM Service provider.100%Satisfection granted.100% replacement Granted.
Implicitly or explicitly all competing businesses employ a strategy to select a mix
of marketing resources. Formulating such competitive strategies fundamentally
involves recognizing relationships between elements of the marketing mix (e.g.,
price and product quality), as well as assessing competitive and market conditions
(i.e., industry structure in the language of economics).
The world of search engine optimization (SEO) is buzzing with discussions after Google confirmed that around 2,500 leaked internal documents related to its Search feature are indeed authentic. The revelation has sparked significant concerns within the SEO community. The leaked documents were initially reported by SEO experts Rand Fishkin and Mike King, igniting widespread analysis and discourse. For More Info:- https://news.arihantwebtech.com/search-disrupted-googles-leaked-documents-rock-the-seo-world/
Kseniya Leshchenko: Shared development support service model as the way to ma...Lviv Startup Club
Kseniya Leshchenko: Shared development support service model as the way to make small projects with small budgets profitable for the company (UA)
Kyiv PMDay 2024 Summer
Website – www.pmday.org
Youtube – https://www.youtube.com/startuplviv
FB – https://www.facebook.com/pmdayconference
Business Valuation Principles for EntrepreneursBen Wann
This insightful presentation is designed to equip entrepreneurs with the essential knowledge and tools needed to accurately value their businesses. Understanding business valuation is crucial for making informed decisions, whether you're seeking investment, planning to sell, or simply want to gauge your company's worth.
2. what is testing nirvana?
you want to write tests
know what to test, what not to test
confidence in your code
more productive writing tests before code,
then just code alone
3. what is testing nirvana?
[ stolen without permission or regard from: ]
http://www.ayende.com/Blog/archive/6905.aspx
4. 1 Unit Test
st
Feelings of discomfort
Strange sense of obviousness
These symptoms will pass
[ paraphrased from http://behavior-driven.org/Introduction ]
6. 1 Enlightenment
st
congratulations, TDD status achieved!
Tests answer “How”
access to new tools for: testing, refactoring, automation
[ paraphrased from http://behavior-driven.org/Introduction ]
8. 2
nd
Enlightenment
TDD is about Design
Tests answer “What”
no longer want all those design tools
[ paraphrased from http://behavior-driven.org/Introduction ]
11. 3 Enlightenment
rd
you are now BDD worthy
tests are henceforth specs
test in a framework, spec in a DSL
[ paraphrased from http://behavior-driven.org/Introduction ]
15. Story Tests
Story: simple addition
As an accountant
I want to add numbers Story
So that I can count beans As a [role]
Scenario: add one plus one I want to [do some action]
Given an addend of 1
And an addend of 1 So that [business value]
When the addends are added
Then the sum should be 2
And the corks should be popped Scenario
Given [initial state]
Scenario: add two plus five
Given an addend of 2 When [action]
And an addend of 5
When the addends are added
Then [result]
Then the sum should be 7
[ stolen without permission or regard from: ]
http://blog.davidchelimsky.net/articles/2007/10/25/plain-text-stories-part-iii
http://peepcode.com/products/rspec-user-stories
16. Story Tests
#google_bar
3 boxes { .container
#search
17. Story Tests
Story: google's homepage
As a gmail user
I want visit google's homepage
So that I can search the web or check my gmail
Scenario: The google bar has a link to gmail when I am logged in
Given there is a gmail user ben.burkert@gmail.com
And they are logged into gmail
When they view the google homepage
Then they should see the google_bar box
And they should see the user's email_address within the google_bar box
And they should see a Gmail link within the google_bar box
Scenario: The search box allows the user to search the net
Given there is a gmail user ben.burkert@gmail.com
When they view the google homepage
Then they should see a container box
And they should see the search box within a container box
And they should see a quot;Google Searchquot; button within the search box
And they should see a quot;I'm feeling luckyquot; button within the search box