Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
By Harlow Ward & Adarsh Pandit thoughtbot are creators of the open-sourced testing tools FactoryGirl and Shoulda Matchers. We recognize Test-Driven Development (TDD) can be difficult to practice as features increase in complexity. Testing is often skipped when developers feel uncomfortable with TDD or have not yet seen certain approaches in practice. We'll describe specific techniques used in TDD which touch on: Integration testing with RSpec+Capybara, Model Associations and Data Validations, Asynchronous Jobs, Emails, 3rd Party Services, and JSON API endpoints. Help us caption & translate this video! http://amara.org/v/FGan/
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 'TDD Workshop: Outward-in Development, Unit Tests, and Fixture Data' features Adarsh Pandit and Harlow Ward from thoughtbot at RailsConf 2013. The workshop focuses on Test-Driven Development (TDD), addressing the challenges developers face as software complexity increases, and providing hands-on demonstrations of TDD techniques. Key Points Discussed: - **Introduction to TDD**: Adarsh and Harlow emphasize the importance of writing tests first, which helps prevent unnecessary code and reduces bugs. - **Pair Programming**: The workshop adopts a hands-on approach called ping-pong pairing where they alternate writing tests and code, illustrating collaboration's importance in learning TDD. - **Integration Testing with RSpec and Capybara**: They demonstrate how to conduct integration tests, simulating user behavior and interaction within a web application using RSpec and Capybara. - **Practical Application**: The session includes constructing a basic to-do application where they implement new features, such as marking tasks as complete. The importance of prompts from failing tests is stressed as they guide code development. - **Error Handling and Refactoring**: They navigate through error messages when tests fail, explaining how to fix issues in a structured manner while maintaining code clarity and reusable components. - **Benefits of TDD**: Notable advantages include improved code understanding, documentation, and enhanced collaboration among developers. They argue that it encourages purposeful coding and minimizes confusion. - **Further Engagement**: The presenters encourage audience participation and questions, reinforcing the interactive nature of the workshop. The workshop concludes with a reflection on the process of TDD, promoting an understanding of its delicate balance between testing, development, and collaboration among developers. With an emphasis on continuous improvement, they advocate for well-structured code and the importance of maintaining a clean project history. Overall, the session serves as both an introduction and a deep dive into practical TDD techniques, promoting discipline and practice as vital to mastering the process.
Suggest modifications
Cancel