• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

test driven development

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you tell me if "test driven development" is used often in praxi?
Where is used and where not?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know what "Praxi" is, and Google didn't turn up anything useful. Can you perhaps rephrase your question?
 
Ranch Hand
Posts: 694
Mac OS X Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Test-Driven-Development means that you specify your program by first designing and coding your test cases. I believe that it is used in practice. I see job ads that ask for this. I think that JUnit is a tool to help you with test-driven-development.

-- Kaydell
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With "in praxi", Manu probably means "in practice".

As far as I know, test driven development means that you have people who take the requirements for the application and convert them into test cases to check if the application adheres to the requirements alongside the developers who write the code for the application. You can do this with automatic testing, for example with JUnit, or just by testing manually.

You test the application in steps as it is being developed and you manage the development by keeping track of how many of the tests it passes. Ideally, you're finished if you have a complete set of test cases and the application passes them all.

Try searching Google for "test driven development".
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jesper Young:
[/qb]As far as I know, test driven development means that you have people who take the requirements for the application and convert them into test cases to check if the application adheres to the requirements alongside the developers who write the code for the application. You can do this with automatic testing, for example with JUnit, or just by testing manually.
[/QB]



Close. TDD means that the developer himselfs writes a testcase just before he writes to code to make it pass.

- write test
- write production code to make it pass
- refactor
- repeat until finished

It is a very close cycle - typically it shouldn't take longer than a few minutes from test to test.

And yes, it is used in practice - in fact I'd say that it is quite popular.

http://www.testdriven.com/modules/xoopsfaq/ gives a good introduction.

Moving to our Testing forum...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic