An Early Look at JUnit 4 147
An anonymous reader writes "Elliotte Harold, proclaimed 'obsessive code tester', took an early look at JUnit4 and shows how to best utilize the framework in your own projects. Many feel that this is one of the most important third-party Java libraries ever developed. It promises to simplify testing by exploiting Java 5's annotation feature to identify tests rather than relying on subclassing, reflection, and naming conventions."
I don't know if I am the only one thinking this... (Score:5, Funny)
Just when I'd almost gotten comfortable (Score:2, Funny)
Actually: Nice work, guys. I'll probably appreciate this once I get a chance to use it and wrap my head around it.
JUnit4 ? Goddess ? (Score:2, Funny)
Just kidding, JUnit [wikipedia.org], one with capital U.
Re:I don't know if I am the only one thinking this (Score:1, Funny)
Re:Could we cut down at manager speak here (Score:4, Funny)
Your not the only one (Score:4, Funny)
Envy me, I'm programming's MVP!
Re:The Holy Grail (Score:4, Funny)
It would have to use microphones because, in my experience, you don't get a written requirements spec. Or if you do, customers don't feel constrained by it.
It would also have to raise a red flag when the customer contradicts themselves in the same sentence or paragraph.
But all kidding aside, JUnit is cool.
For intricate portions of my code I write tests that represent specific scenarios and run regression tests whenever I have finished implementing the new rule of the day.
Re:The Holy Grail (Score:5, Funny)
Then you just write the tests and let the code "evolve" until it passes them. Meanwhile, you get to sit around and drink beer.
Re:Your not the only one (Score:2, Funny)