Junit
When I first met Junit, I loved it. Well at least I loved how it integrated in my eclipse. But after some time we spent together I found some annoying things about it.
First of all I do not like class TestResult. You see it is not bean compatible, so if you will try to use it with jstl or struts tags you'll get some problems. And TestResult is using class Vector inside so it is not realy good thing about it.
The second thing in JUnit I do not like is TestRunner and stuff. Problem is that I did not found a way to made some test-tree presentation with it. You see there are this TestLisner interface that allows you to ovveride
void endTest(Test test)
A test ended.
void startTest(Test test)
A test started.
I have some nice test-tree, it means that there was some main TestSuite that contained some other TestSuite instances and so on. In the end there was TestCase instances that contained some real tests. Every TestSuite had his own name, so I had intesion to show some nice test-tree presentation of tests running. What I found when I created my own TestListener realisation is that it do not deal with TestSuites it works only with TestCases. So if you want to have test-tree presentation you need to write your own TestRunner.
First of all I do not like class TestResult. You see it is not bean compatible, so if you will try to use it with jstl or struts tags you'll get some problems. And TestResult is using class Vector inside so it is not realy good thing about it.
The second thing in JUnit I do not like is TestRunner and stuff. Problem is that I did not found a way to made some test-tree presentation with it. You see there are this TestLisner interface that allows you to ovveride
void endTest(Test test)
A test ended.
void startTest(Test test)
A test started.
I have some nice test-tree, it means that there was some main TestSuite that contained some other TestSuite instances and so on. In the end there was TestCase instances that contained some real tests. Every TestSuite had his own name, so I had intesion to show some nice test-tree presentation of tests running. What I found when I created my own TestListener realisation is that it do not deal with TestSuites it works only with TestCases. So if you want to have test-tree presentation you need to write your own TestRunner.
