Should I have unit tests for known defects?
If my code contains a known defect which should be fixed, but isn’t yet, and won’t be fixed for the current release, and might not be fixed in the forseeable future, should there be a failing unit test for that bug in the test suite? If I add the unit test, it will (obviously) fail, and getting used to having failing tests seems like a bad idea. On the other hand, if it is a known defect, and there is a known failing case, it seems odd to keep it out of the test suite, as it should at some point be fixed, and the test is already available.
Should I have unit tests for known defects?
If my code contains a known defect which should be fixed, but isn’t yet, and won’t be fixed for the current release, and might not be fixed in the forseeable future, should there be a failing unit test for that bug in the test suite? If I add the unit test, it will (obviously) fail, and getting used to having failing tests seems like a bad idea. On the other hand, if it is a known defect, and there is a known failing case, it seems odd to keep it out of the test suite, as it should at some point be fixed, and the test is already available.
Should I have unit tests for known defects?
If my code contains a known defect which should be fixed, but isn’t yet, and won’t be fixed for the current release, and might not be fixed in the forseeable future, should there be a failing unit test for that bug in the test suite? If I add the unit test, it will (obviously) fail, and getting used to having failing tests seems like a bad idea. On the other hand, if it is a known defect, and there is a known failing case, it seems odd to keep it out of the test suite, as it should at some point be fixed, and the test is already available.
On which abstraction level would you do TDD?
Problem
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.
How to measure that a team is doing Test Driven Development
My team is considering a department goal of doing Test Driven Development next (fiscal) year.