DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 637 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

12
kicks
published 1 year, 3 months ago, submitted by chrcar01 1 year, 3 months ago

devlicio.us — Good little post that pretty well describes most of the people I work with, and their mantra goes something like this: "We don't have time for unit tests right now, we have to get this project done ASAP!! We can always refactor and clean up the code later"

tags: , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
The tone of this article comes off as extremely condescending and dogmatic. If the article's goal is to promote the benefits of TDD/Unit Testing, it unfortunately may have the opposite effect of alienating those considering the move to TDD. However, if the article's goal is to rant and/or insult those who are resistant to the TDD methodology (for whatever the reason may be), then nevermind. :-)

IMHO, the clear benefit of TDD/Unit Testing is increasing code quality. And, if one uses the Agile methodology, Unit Testing is, IMHO, _critical_ because it gives you the "code confidence" for the many refactorings that come with each iteration.
posted by powerrush powerrush 1 year, 3 months ago
No offense intended, but a lot of the "agile" post Ive read lately have come across as condescending and dogmatic. Agilists: Rigid and inflexible.
posted by joejoejoejoe 1 year, 3 months ago
I believe in keeping my unit tests as simple as possible. What it boils down to are very simple problems. When you do something, you expect a result. Simple as that. I your unit tests are taking you so long to write, maybe they're too complicated and I believe complicated unit tests are counter productive because then you will need unit tests to test your unit tests.

I've actually had my unit tests find bugs in my code that I didn't even realize I had. Also, as powerrush mentions, its' a great way to make sure your refactoring doesn't break something, unintentionally.

Sure, all of these things *should* be caught in a regression test when the product is deployed to a testing environment; however, it's much easier for a developer to make corrections to the code while it is still fresh in their mind, rather than realizing that he/she created a bug a few months down the road. This is even easier when a team has implemented continuous integration, which includes steps to run and verify unit tests.
posted by senfo 1 year, 3 months ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge