dev@grizzly.java.net

Development & Unit test execution

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 14 Jan 2008 18:06:59 +0100

Hi,

wanted to ask.
It's only me, who thinks, that running all unit test set on each build,
it's something undesirable? :))
For example I would like to add unit tests for
Controller/SelectorHandler pause/resume operations. But they will
include tests, which should fail by timeout, for example when
SelectorHandler is paused - client will end with timeout when trying to
receive response...
I can commit that tests, but it will mean total test execution time will
be increased by approx. 30sec - 1min or may be more.

I'm not maven guru, so would like to ask, if there any common practices,
which may be other projects use, that will allow us to run unit tests,
when we really need that, but not on each build?

Thanks.

WBR,
Alexey.