... Have you read Michael Feathers' book [1]? In my experience, a lot of people aren't test-infected and there is a lot of legacy code in the world, so a lot...
GTC announces the release of TestUtil v. 2.5. Support has been added for Unix (thank you Pawel Radzinski!). _Marvin TestUtil is a Java open source low-effort...
While you are reviewing, one point I've heard others make about JUnit is that the ignore annotation is very much geared to giving the runner an instruction,...
... into a ... achieving ... sometimes by ... http://www.amazon.com/Working-Effectively-Legacy-Robert-Martin/dp/0131177052 ... I didn't read this book and I...
20910
Per Jacobsson
perjacobsson@...
Sep 22, 2008 11:26 pm
I like the idea, but would that approach to multithreaded tests work for JUnit? The way it creates a new instance of the test class every time a test method is...
All, Last week on succeeding days I encountered two situations, one where system-level tests were valuable and unit tests would have been useless and one where...
Kent, This is fantastic. I could never put into words these concepts we struggle with every day as eloquently. I would like to know though, how can we quantify...
Functionally, there's nothing to stop a given method being run on the same object with different threads in order to root out concurrency problems. You point...
Hi, Kent! Your example with Chart API is good. However, your example with payment processing is completely nightmare for me. I didn't understand what does the...
Actually, I would argue it's named correctly: the methods tagged happen before and after whatever the current class defines. On the one hand, it's an...
Miro, Sorry for the late response. You should be able to right-click the test result in the JUnit view, and select "Rerun JUnit test". I believe you can also...
Sushil, I would definitely recommend trying to write JUnit tests for a simple, self-contained class first, to make sure you understand the basics. Then,...
I think perhaps another thread or tracker item is the best place to continue this conversation; I'm confused about what set of requirements we're designing...
Kamal, I'm glad you found the paper helpful. It would be helpful to have objective measures for the three factors I found. In my own practice I rely on ...
Alex, The payment collection process is a fairly typical business process: one a quarter (say), the client owes the insurance company $1000. Out goes a ...
Hi there, is there a way to run cleanup code after all test are run? I sometimes have some setup that I want done once before any test is run. This is easy...
Kent, Thank you for your explanations. I think they are pretty clear. I will re-read your paper later on (it can take some time, though) and I will post my...
Kent, Thank you for your explanations. I think they are pretty clear. I will re-read your paper later on (it can take some time, though) and I will post my...
Malte, A way I can think of to clean up after a whole run (and set up before one starts, for that matter), is to attach a listener of your own devising to a ...
I am using Junit4.0 inside eclipse. I tried adding annotation tags like; @BeforeClass @AfterClass, @Ignore, etc. They seem to have no effect. Is there some...