You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/09 17:31:00 UTC

[jira] [Commented] (CAMEL-11525) Run tests in camel-core in parallel via test suites

    [ https://issues.apache.org/jira/browse/CAMEL-11525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079671#comment-16079671 ] 

Claus Ibsen commented on CAMEL-11525:
-------------------------------------

The junit-toolbox has a problem that it runs each test method in parallel, and what we want is each test class instead. I logged a ticket: https://github.com/MichaelTamm/junit-toolbox/issues/19

> Run tests in camel-core in parallel via test suites
> ---------------------------------------------------
>
>                 Key: CAMEL-11525
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11525
>             Project: Camel
>          Issue Type: Test
>          Components: camel-core, tests
>            Reporter: Claus Ibsen
>
> Look at using test suites so we can divide the tests into different groups, and let them run in parallel. For example we can group by org.apache.camel.xxx package level and run each in parallel depending on number of cpu cores etc.
> I wonder if this tool can make it possible to setup the suites filtering via the wildcard matching so we can do this easily
> https://github.com/michaeltamm/junit-toolbox
> See also
> https://stackoverflow.com/questions/7331214/junit4-run-all-tests-in-a-specific-package-using-a-testsuite
> And maven surefire plugin
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)