Showing 21 videos tagged with testing

Use The Cucumber

01:12:00 peepcode.com
The Cucumber behavior-driven development framework is appreciated by developers from many languages. It makes it easy to write plain-text stories that run executable Ruby code against your application. In this hour and ten minute screencast, you’ll learn the basics of Cucumber. You’ll learn the syntax, organization, and philosophy of writing Features, Scenarios, and Steps. You’ll build an application and learn where unit tests are a better fit. The PeepCode series on RSpec kicked off ou... View More

There is Such a Thing as Too Much Testing

I've worked at Object Mentor, ThoughtWorks, and Obtiva so I come from a test first background. However there are times and situations that call for less automated testing instead of more. Now that TDD and BDD have become near dogma in some circles, it's time to have an honest discussion about finding the appropriate level of testing for your team/project/code. Too much testing can lead to developer backlash, gridlock, morale problems, and poor velocity. On the other hand, lack of testing can ... View More

How TDD Missed the Point: Introducing EDD

Ruby's testing culture goes way back, and has been a force for making many Ruby projects a showcase for solid, maintainable code. That said, within a business an exclusive focus on TDD and BDD can easily miss the bigger picture and drive optimizations in the development process that negatively impact the business as a whole. Part business talk and part technical talk, we'll discuss what "Experiment Driven Development" is, why you should be doing it from day 1 (probably even before writing ... View More

Testing Exceptions

00:10:01 railscasts.com
Sometimes bad code slips into production and triggers a 500 error. Learn how to be notified of this and resolve it through integration tests.

How To Test Absolutely Anything by Noel Rappin

00:44:52 vimeo.com
Here it is, a one stop, rapid-fire tour through the very best and most useful testing tools and tricks that the rails ecosystem has to offer. this is not about testing theory, it's about getting testing done quickly and efficiently without reinventing the wheel.

Setting up Devver on a non-Rails project

00:06:21 devver.net
In order to show how easy it is to configure Devver for a project, we've made a short screencast to walk you through the steps. We've used DataMapper as an example application. As you can see, it only takes a few minutes to set up Devver and then the specs complete in a fraction of the time. In fact, the whole process - setup and Devver run - takes less time than running 'rake spec'.

How I Learned to Love Testing

A few months ago I really hated the idea of testing my code, I just didn't do it. Now I couldn't think of writing a line of code without the proper tests in place. If you fall into either of these boats you may want to watch this presentation I put together for the Orlando Ruby Users Group. Feedback and comments are always welcome. Topic's Covered Why would you test your code? When do you test your code? The path to developer enlightenment Test Driven Development (TDD) Behavior D... View More

Ruby on Rails 2.2

00:44:00 envycasts.com
Covering the newest features of Rails 2.2 including: Scaling with Etags Connection Pooling New Enumerable Methods The New Test Helpers Internationalization Much more new stuff from each Rails gem

SD Ruby - Episode 013: Mocha and Stubba

Kevin Clark shows us how to use mocks and stubs in your Ruby tests using Mocha and Stubba

SD Ruby - Episode 046: RSpec in 15 minutes

Cliff Rhyne describes in 15 minutes what it takes to get up and running with RSpec. Bonus content: download the slides from this talk.