I have developed some classes with similar behavior, they all implement the same interface. I implemented a factory that creates the appropriate object and returns the interface. I am ...
Today I ran into a very difficult TDD problem. I need to interact with a server through HTTP POSTs. I found the the Apache Commons HttpClient, which does what I need.
However, ...
I have some unit tests (yes, perhaps more integration-ey tests !) that I would like to spin up another jvm, and then run the test code from that "other" JVM (and ...
I wanted to start a discussion about the details that you cover in your unit tests.
Do you test major functionalities, that consist of several methods doing one task at once with ...
I am recently introduced to the test-driven approach to development by my mentor at work, and he encourages me to write an unit-test whenenver "it makes sense." I understand some benefits ...
I'm taking a stab at setting up unit tests for some utility classes in a project I'm working on, and one of the classes (contains licensing info) has a method that ...
let me first explain what I'm aiming for with this question:
What kind of dev I am? I'm the guy who thinks about the problem, writes the code and then tests it ...
since the dao layer methods will be dependent on data in the database,
in complex systems some operations will depend on lots of tables,
in this way unit test are not repeatable ...
This question just occurred to my mind and I want to ask this here.
The case is intentional, I just write a loop which runs infinitely. How do I go about unit ...
I am trying to come up with a test case for a Queue class that I have not yet implemented. While trying to write the code for testEnqueue method I could ...
I want to use JUnit or similiar TDD frameworks and plugins at my work environment. But where I work, migrating to jdeveloper 11g or eclipse is not considerable in a near ...