BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 701-100 Topic 12 Question 69 Discussion

Actual exam question for LPI's 701-100 exam
Question #: 69
Topic #: 12
[All 701-100 Questions]

Which of the following statements describes the principal concept behind test driven development?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Vilma
3 months ago
I bet the person who wrote option D has never actually done TDD before. That's just silly.
upvoted 0 times
Sean
3 months ago
Exactly, TDD is all about writing tests first to drive the development process.
upvoted 0 times
...
Carin
3 months ago
I agree, writing tests after the code defeats the purpose of TDD.
upvoted 0 times
...
Kanisha
3 months ago
E) Instead of testing software automatically, manual tests are performed and logged daily.
upvoted 0 times
...
Effie
3 months ago
Option D is definitely not the right answer. Tests should be written before the code!
upvoted 0 times
...
Laquanda
3 months ago
C) Tests are written before the function / method is implemented.
upvoted 0 times
...
Margot
3 months ago
A) Tests may not be written by the same development team that wrote the tested code.
upvoted 0 times
...
...
Lenny
4 months ago
Wait, manual tests? What is this, the 1990s? E) is clearly the wrong answer.
upvoted 0 times
Paola
2 months ago
B) All tests are generated automatically from the tested source code.
upvoted 0 times
...
Ailene
2 months ago
C) Tests are written before the function / method is implemented.
upvoted 0 times
...
Arlean
2 months ago
A) Tests may not be written by the same development team that wrote the tested code.
upvoted 0 times
...
Corinne
3 months ago
B) All tests are generated automatically from the tested source code.
upvoted 0 times
...
Salena
3 months ago
C) Tests are written before the function / method is implemented.
upvoted 0 times
...
Aretha
3 months ago
A) Tests may not be written by the same development team that wrote the tested code.
upvoted 0 times
...
...
Audry
4 months ago
C) is definitely the right answer. You can't have TDD without writing tests first.
upvoted 0 times
...
Tess
4 months ago
B) All tests are generated automatically from the tested source code? That's a bit too good to be true, don't you think?
upvoted 0 times
Walker
3 months ago
B) That does sound a bit too good to be true, but it's actually C) Tests are written before the function / method is implemented.
upvoted 0 times
...
Page
3 months ago
C) Tests are written before the function / method is implemented.
upvoted 0 times
...
...
Maia
4 months ago
Hmm, I think C is the correct answer. Writing tests before implementation is the essence of test-driven development.
upvoted 0 times
Kate
3 months ago
It also encourages writing code that is more modular and easier to maintain.
upvoted 0 times
...
Karon
3 months ago
Definitely, it helps in defining the expected behavior of the code before writing it.
upvoted 0 times
...
Lashandra
3 months ago
I think C is the correct answer too. It helps ensure the code meets the requirements.
upvoted 0 times
...
Francoise
4 months ago
I agree, writing tests before implementation is key in test-driven development.
upvoted 0 times
...
...
Maryanne
4 months ago
C) Tests are written before the function / method is implemented. That's the whole point of TDD!
upvoted 0 times
Gabriele
3 months ago
E) Instead of testing software automatically, manual tests are performed and logged daily.
upvoted 0 times
...
Tyisha
3 months ago
D) The only acceptable reason to write a test is to prevent fixed bugs from occurring again.
upvoted 0 times
...
Mignon
3 months ago
C) Tests are written before the function / method is implemented.
upvoted 0 times
...
Alishia
3 months ago
B) All tests are generated automatically from the tested source code.
upvoted 0 times
...
Filiberto
3 months ago
A) Tests may not be written by the same development team that wrote the tested code.
upvoted 0 times
...
...
Alesia
4 months ago
I think option D is incorrect because writing tests also helps in designing the code and improving its quality, not just preventing bugs.
upvoted 0 times
...
Ammie
4 months ago
I believe option B is also important as it ensures that tests are closely tied to the source code, making it easier to maintain.
upvoted 0 times
...
Moon
5 months ago
I agree with Stephanie, option C makes sense because it helps in defining the requirements before writing the actual code.
upvoted 0 times
...
Stephanie
5 months ago
I think the principal concept behind test driven development is that tests are written before the function is implemented.
upvoted 0 times
...

Save Cancel