The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
TMOTB - Test more often than BryanL

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bryan Liles

Posts: 228
Nickname: bryanl
Registered: May, 2008

Bryan Liles is the Principal Web Developer for Sourcefire, Inc.
TMOTB - Test more often than BryanL Posted: Dec 30, 2008 9:38 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Bryan Liles.
Original Post: TMOTB - Test more often than BryanL
Feed Title: Smarticus
Feed URL: http://smartic.us/feed/atom.xml
Feed Description: Ramblings of a ruby hacker
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Bryan Liles
Latest Posts From Smarticus

Advertisement

For quite some time, I’ve been asking you how often you test your codes, and I’ve also been encouraging you to test all time fucking time. Now I’m curious about something. How often you do you test?

Do you test more often than I do? I’ll share with you how often I test, and I’ll let you tell me if I’m doing too much or not enough.

I test rake tasks

I test my Rails initializers if I can

Sometimes I write tests for test code.

I truly spend more time writing tests than I do writing implementation code.

I used to test my associations, but I’ve stopped due to learning that you should test for expected behavior and not how it is implemented.

I test file uploads.

I test file downloads.

I test stuff that happens on the filesystem (my method sucks, but it does work)

Sometimes I write additional tests for projects when I don’t quite understand how they work

I’ve developed a style for writing tests to demo code

I have some test code for creating acceptance tests from Pivotal Tracker stories.

So, what have you? How often do you test?

Read: TMOTB - Test more often than BryanL

Topic: Advanced ActiveRecord screencast Previous Topic   Next Topic Topic: Little Known Ways to Ruby Mastery by Ilya Grigorik

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use