> -----Original Message-----
> From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
> Sent: 03 December 2003 19:42
> To: JMeter Developers List
> Subject: Re: Unit tests totally broken
> 
> 
> Well, none should ever fail (I mean when committing), so 
> reporting one 
> only just makes de clean-up process longer if you break something.
> 

Agreed; I've changed ProxyControl to use one test for each Assertion, as
they were all independent.

==

Ideally, I guess we ought to create a test case for every bug, check that it
fails, fix the bug, and check that it doesn't.

At the moment, however, it is not particularly easy to run individual tests,
as far as I can tell.
One cannot use Junit directly on most test-cases.
This is because most tests require parts of JMeter to be initialised
(properties, logging).
I suppose we might be able to extend AllTests.Java to test a single class.
It would be really nice to be able to select a class and use Junit from the
IDE. If I get time, I'll have a look at what needs to be done (e.g. create a
base test case that automatically initialises stuff if necessary).

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to