JBoss Community

TestSuite - multithreaded tests and stress test

created by Stefano Maestri in IronJacamar Development - View the full discussion

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

Start a new discussion in IronJacamar Development at Community