All Questions
Tagged with procedural unit-testing
3 questions
1
vote
3
answers
3k
views
Why is white box testing discouraged in OOP?
It seems the general consensus for unit testing classes is to test your object through its public interface only. So if you wanted to test the removeElement method on a LinkedList class you'd need to ...
6
votes
1
answer
739
views
Testing procedural code
TL;DR. Writing procedural code within a DB transaction. How can I improve design of the code so it's better testable?
In my application I have a service object that perform multiple things within the ...
13
votes
5
answers
8k
views
Is unit testing procedural code effective?
On a current project, the powers that be want to have unit testing incorporated into our development cycle to avoid the constant amount of bugs that seem to seep into our code. The problem is that the ...