Unit tests are for functionality, not code!(ytechie.com)

submitted by ObishawnObishawn(555) 3 years, 11 months ago

Unit tests are meant to test functionality, NOT code! That means if you write your unit tests after the fact, you’re probably not focusing on the functionality.

1 comment |category: |Views: 324

tags: another

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:

posted by jessejesse(100) 3 years, 11 months ago 0

I love that someone took the time to rant about the right way to do unit testing and created a detailed 7 step process which fails to encapsulate "red, green, refactor". Luckily, the first comment by anonymous cleared it up--and shaved some steps in the process ;)

Reply

information Login or create an account to comment on this story