Running /all/ tests?

We run /all/ tests prior to /every/ delivery. Our project contains many
modules, some of which are low-level components, others represent
top-level servers. It does not matter what you have changed, before
committing you must update, rebuild, and run all tests.

But with a run-target being based on a /module's/ classpath it would
seem now that we would have to know the roots of the module forest,
define a testall target for each, then make sure to run each of them
individually as part of a delivery.

Do I understand this correctly? Do we need to create a psuedo module
that simply contains all other modules (and of course their named
libraries :( just to use for the testall target?

If so, it would be nice if the project as whole could be one of the
selections for the classpath/jdk of a run-target.

1 comment
Comment actions Permalink

There will be ability to run all tests in a package (including subpackages)
from all modules. Setting package to "" you'll get all tests. This will be
implemented soon.

--
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:bsqdhe$pmj$1@is.intellij.net...

We run /all/ tests prior to /every/ delivery. Our project contains many
modules, some of which are low-level components, others represent
top-level servers. It does not matter what you have changed, before
committing you must update, rebuild, and run all tests.

>

But with a run-target being based on a /module's/ classpath it would
seem now that we would have to know the roots of the module forest,
define a testall target for each, then make sure to run each of them
individually as part of a delivery.

>

Do I understand this correctly? Do we need to create a psuedo module
that simply contains all other modules (and of course their named
libraries :( just to use for the testall target?

>

If so, it would be nice if the project as whole could be one of the
selections for the classpath/jdk of a run-target.

>


0

Please sign in to leave a comment.