Skip to main content

Behavior Driven Development is an extension/revision of Test Driven Development. It's Its purpose is to help the the folks devising the system (i.e., the developerdevelopers) identify appropriate tests to write  --that that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same  --develop develop the test and then develop the code/system that passes the test. The hope in BDD is that the tests are actually useful isin showing that the system meets the requirements.

UPDATE

Units of code (individual methods) may be too granular to represent the behavior represented by the behavioral tests, but you should still test them with unit tests to guarantee they function appropriately. If this is what you mean by "TDD" tests, then yes, you still need them.

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful is showing that the system meets the requirements.

UPDATE

Units of code (individual methods) may be too granular to represent the behavior represented by the behavioral tests, but you should still test them with unit tests to guarantee they function appropriately. If this is what you mean by "TDD" tests, then yes, you still need them.

Behavior Driven Development is an extension/revision of Test Driven Development. Its purpose is to help the folks devising the system (i.e., the developers) identify appropriate tests to write  -- that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same  -- develop the test and then develop the code/system that passes the test. The hope in BDD is that the tests are actually useful in showing that the system meets the requirements.

UPDATE

Units of code (individual methods) may be too granular to represent the behavior represented by the behavioral tests, but you should still test them with unit tests to guarantee they function appropriately. If this is what you mean by "TDD" tests, then yes, you still need them.

added 177 characters in body
Source Link
Matthew Flynn
  • 13.5k
  • 2
  • 41
  • 59

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful is showing that the system meets the requirements.

So,UPDATE

Units of code (individual methods) may be too granular to answerrepresent the question, ifbehavior represented by the behavioral tests actually test for the desired behavior, then theybut you should be adequate and not requirestill test them with unit tests to guarantee they function appropriately. If this is what you mean by "TDD" tests as well--they are one and the same, then yes, you still need them.

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful.

So, to answer the question, if the tests actually test for the desired behavior, then they should be adequate and not require "TDD" tests as well--they are one and the same.

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful is showing that the system meets the requirements.

UPDATE

Units of code (individual methods) may be too granular to represent the behavior represented by the behavioral tests, but you should still test them with unit tests to guarantee they function appropriately. If this is what you mean by "TDD" tests, then yes, you still need them.

added 177 characters in body
Source Link
Matthew Flynn
  • 13.5k
  • 2
  • 41
  • 59

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful.

So, to answer the question, if the tests actually test for the desired behavior, then they should be adequate and not require "TDD" tests as well--they are one and the same.

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful.

Behavior Driven Development is an extension/revision of Test Driven Development. It's purpose is to help the the folks devising the system (i.e., the developer) identify appropriate tests to write--that is, tests that reflect the behavior desired by the stakeholders. The effect ends up being the same--develop the test and then develop the code/system that passes the test. The hope in BDD is the tests are actually useful.

So, to answer the question, if the tests actually test for the desired behavior, then they should be adequate and not require "TDD" tests as well--they are one and the same.

Source Link
Matthew Flynn
  • 13.5k
  • 2
  • 41
  • 59
Loading