[jboss-dev-forums] [IronJacamar Development] - TestSuite - multithreaded tests and stress test
Stefano Maestri
do-not-reply at jboss.com
Fri Nov 26 08:39:31 EST 2010
Stefano Maestri [http://community.jboss.org/people/maeste] created the discussion
"TestSuite - multithreaded tests and stress test"
To view the discussion, visit: http://community.jboss.org/message/573167#573167
--------------------------------------------------------------
I'm convincing that we need to develop some tests in our test suite running concurrently to stress some multithread feature in our code. Of course needs of this kind of tests isn't immediately exposed by a coverage tool, but a deep analysis of our code base make it surely needed.
In fact also old AS5/6 test suite has some of these tests, both to prove features/behaviors and to make some kind of stress tests.
What I don't like of these tests is that is easily become ard to read and understand, putting a lot of threading code into tests it self.
I'm instead thinking about to some external tool (maybe something to write, inside or outside ironjacamar code base, but not as part of testssuite for sure) to hide this threading infos, and trying to make threading pure declarative in tests.
TestNG does something like that, but it doesn't seems perfect at a first look. I'll come back with some proposal very soon.
bye
S.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573167#573167]
Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101126/16a8906c/attachment.html
More information about the jboss-dev-forums
mailing list