Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Test driven

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Lasse

Does the examples in book use Java or a reader of your book apply concepts into any language ?
Thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All the examples are in Java (and Java 5, specifically) but the concepts are portable to other object-oriented languages. Also, Part 3 is mostly technology-agnostic.
 
mahmoud allam
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How TDD affect the testing phase in the SW life cycle?Does we need any testing if we use TDD?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mahmoud allam:
How TDD affect the testing phase in the SW life cycle? Does we need any testing if we use TDD?

Yes, you should test the software regardless of whether the code was written test-first or not. While it's likely that test-driven software has less bugs, it doesn't guarantee zero-defect software. Besides, not all defects can be detected by a test that operates a single object or a couple of collaborating objects.

In other words, while TDD helps produce higher quality software, it's not a silver bullet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic