Home > Test Driven Development > Writing code after vacation

Writing code after vacation

It’s amazing.  I read about the poor maintenance programmers who will spend way more time working with my code than I will writing it.  About how important it is to keep the code clear so that they can recreate what I was thinking.  It makes total sense.  What freaks me out is how often I benefit from readable code.  I just got back from a four-day weekend in LA and I’ve settled back into my test driven code like a favorite comfy chair.

Me: “What the heck does this class do?!”

The tests:

  • BOOST_AUTO_TEST_CASE( shouldThrowOnInvalidDBInfoPassedToConstructor )
  • BOOST_AUTO_TEST_CASE( shouldConnectToDBViaConstructor )
  • BOOST_FIXTURE_TEST_CASE( shouldConnectToDBViaConnectFunction, NotConnected )
  • BOOST_FIXTURE_TEST_CASE( shouldThrowIfPassedBogusServerCredentials, NotConnected )
  • BOOST_FIXTURE_TEST_CASE( shouldThrowOnSelecting, NotConnected )
  • BOOST_FIXTURE_TEST_CASE( shouldSelectDB, Connected )
  • BOOST_FIXTURE_TEST_CASE( shouldThrowIfInvalidDBSelected, Connected )
  • BOOST_FIXTURE_TEST_CASE( shouldThrowIfSelectingInvalidDB, Connected )

Me: “Ok, right.  Now I can get back to work.”

Categories: Test Driven Development Tags:

windows 7 product key

windows 7 product key

windows 7 key generator

windows 7 key generator

free winrar download

free winrar download

winzip activation code

winzip activation code

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

winrar download free

winrar download free

winzip free download full version

winzip free download full version

windows 7 activation crack

windows7 activation crack

windows 7 crack

windows 7 crack

free winzip

free winzip
\n