Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
By Brian Sam-Bodden Behavior-Driven Development and Acceptance Testing are heavily intertwined and in many aspects are one and the same. Both focus on starting at the outer layers of your application by concentrating on what matter to users; behavior. In this session/workshop we'll talk about how testing can be used both for specifying your application yet to be develop expected behavior and as accurate, running documentation that can be used to validate your stakeholder's acceptance criteria. We'll talk about the different types of testing and do a few hands-on exercises to flesh out a Rails application with RSpec and Capybara. Help us caption & translate this video! http://amara.org/v/FGa3/
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "BDD and Acceptance Testing with RSpec & Capybara" is presented by Brian Sam-Bodden at RailsConf 2013 and delves into the intertwined practices of Behavior-Driven Development (BDD) and acceptance testing using RSpec and Capybara. The discussion emphasizes testing's importance in software development, shifting the paradigm from traditional methods of testing at the end of development phases to a more integrated approach starting from user behavior. Key points covered in the video include: - **Overview of Testing Frameworks**: Sam-Bodden discusses the evolution of testing frameworks, highlighting how the tools in the Rails and Ruby communities, such as RSpec, facilitate behavior-driven development. - **Understanding BDD and TDD**: He contrasts Behavior-Driven Development and Test-Driven Development, focusing on user experience and the value delivered to stakeholders, rather than code coverage alone. - **Testing Types**: The video categorizes different tests including unit testing, integration testing, and acceptance testing, stressing the importance of starting from the user's perspective and moving inward to avoid fragile tests. - **RSpec and Capybara Tools**: Sam-Bodden provides a tutorial on how to use RSpec for unit tests, demonstrating its syntax and features, and how to leverage Capybara for acceptance testing to simulate real user interactions in web applications. - **Practical Labor**: The talk includes hands-on sections where participants set up their environments using Git and RVM or a provided zip file, followed by coding exercises to solidify understanding. - **User-Centric Approach**: Throughout the talk, Sam-Bodden stresses the need to frame tests in user stories, ensuring that what is developed aligns with actual user needs, which is central to the BDD philosophy. In conclusion, the session encourages practitioners to embrace BDD and testing paradigms within their development cycles, to leverage RSpec and Capybara for creating robust, user-oriented applications. Sam-Bodden emphasizes thoughtful engagement in coding practices, continuous learning, and collaboration to enhance development processes.
Suggest modifications
Cancel