Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Being Brave is fun.

Rasheed Abdul-Aziz
Saturday, January 19, 2013

You know how tech is. If you don’t stop and look around every, oh, hour or so, a brand new, very interesting technology has surfaced.

If that is not bad enough, old technologies get reinvigorated, like people taking up Vi, Lisp, NeXt… :)

So if you’re like me, are ‘time poor’ and want to get something valuable out of your precious personal-project time, then be brave.

Today I started on a small gem, to help people track what’s taking a lot of time in their Rails boot process. I needed to test. I use RSpec at work, yet I fell back to my default, minitest, because it comes for free with Ruby and is pretty straight forward for small work. I noticed, for the first time, that minitest has a BDD style syntax. Feeling brave, I used it.

I’m glad I did.

It will confuse me when I switch context back to work, then back to the gem. Nevertheless, I enjoyed using something so simple but slightly nicer to type, read and comprehend than:

def test_it_wants_to_have_lots_of_underscores
end

You would think that using a bunch of differently named expectations would be annoying. It wasn’t. It stretched my mind in a short amount of time, which is more satisfying than the string of passing tests in my little personal-project.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

2 Comments

  1. Robbie Clutton
    Robbie Clutton says:

    Got some examples you can share?

    January 29, 2013 at 2:41 pm

    • Rasheed Abdul-Aziz
      Rasheed Abdul-Aziz says:

      Unfortunately no. I ran aground with Minitest and switched to RSpec. Unfortunately I don’t immediately recall why. Certainly one take away, Minitest lacked the expressiveness that all the RSpec Matchers provide. I would say, as a whole, I prefer RSpec.

      I subsequently started another gem, and part of my scaffolding was RSpec, from the outset.

      February 8, 2013 at 6:56 am

Add New Comment Cancel reply

Your email address will not be published.

Rasheed Abdul-Aziz

Rasheed Abdul-Aziz
New York

Recent Posts

  • Being a Pivot.
  • Broken permalinks and narrative, the pitfalls of moving content.
  • [NY] Thursday Standup
Subscribe to Rasheed's Feed

Author Topics

agile (1)
testing (1)
ny (1)
bdd (1)
minispec (1)
programming practices (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >