Tag: testing
another reason % of time writing tests is meaningless
February 27th, 2010 by Jeanne BoyarskyEarlier in the month, I blogged a response to – “What would you say is the average percentage of development time devoted to creating the unit test scripts?”. As I was telling a friend about it, I realized that I missed an important point!
The question also implies that development time is constant. Or maybe not. [...]
Categories: Development Process.
Tags: metrics, testing
Comments: 5
a response to – “What would you say is the average percentage of development time devoted to creating the unit test scripts?”
February 14th, 2010 by Jeanne BoyarskyHow long does it take to compile? We don’t ask that. It would be absurd. The fact that people ask how long unit testing takes mean they see it as an optional cost to be incurred. What I want to know is why they don’t ask for a similar accounting of the cost of NOT [...]
Categories: Development Process.
Tags: Java/J2EE, testing
Comments: 2
Refactoring JUnit 3.8 to 4.0 when hierarchy extends TestCase
February 2nd, 2010 by Jeanne BoyarskyProblem:
I want to start writing tests in JUnit 4.0, but I have a lot of tests in JUnit 3.8. I can’t just start writing tests in 4.0, because I rely on common setup/assertions in my custom superclass which extends TestCase. (Which means JUnit will only look for 3.8 style tests)
Solution:
Create one or more new [...]
Categories: Java/J2EE.
Tags: junit, testing
Comments: none
