Testing Framework Selection: xUnit family theory
Background:
I am familiar with xUnit family frameworks and have had experience with (shunit2, PhpUnit and simpletest). I am currently trying to find a testing framework for C++. I did a quick search for frameworks using Wikipedia’s list of documented frameworks; however, the framework I would like to use is very difficult to setup and is poorly documented. There is another framework that I have tried that was (IMHO) extremely easy to setup and integrate into my production workflow.
Inheritance in test classes
I have an interface Serializer
with methods serialize
and isSerializerFor
. I created a first implementation of this using TDD, and ended up with a nice clean test case fully covering a nice clean implementation. To get a more concrete idea, here is one relevant commit.
Inheritance in test classes
I have an interface Serializer
with methods serialize
and isSerializerFor
. I created a first implementation of this using TDD, and ended up with a nice clean test case fully covering a nice clean implementation. To get a more concrete idea, here is one relevant commit.
TDD and complete test coverage where exponential test cases are needed
I am working on a list comparator to assist sorting an unordered list of search results per very specific requirements from our client. The requirements call for a ranked relevance algorithm with the following rules in order of importance:
Debugging checklists: How much it’s necessary to have? [closed]
Closed 10 years ago.
Debugging checklists: How much it’s necessary to have? [closed]
Closed 10 years ago.
Debugging checklists: How much it’s necessary to have? [closed]
Closed 10 years ago.
Debugging checklists: How much it’s necessary to have? [closed]
Closed 10 years ago.
Debugging checklists: How much it’s necessary to have? [closed]
Closed 10 years ago.
In TDD, is it bad practice to pass a test with code that would pass more than one test? [duplicate]
This question already has answers here: How to structure tests where one test is another test’s setup? (4 answers) Closed 10 years ago. When using TDD, is it bad practice to pass a newly written test with code that could also pass another test? For example, take the following test (in PHP) public function WhenSomethingIsNull_ThrowsException() […]