maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SUREFIRE-1305) surefire fails on parallel tests when newline character is in test description
Date Fri, 25 Nov 2016 05:14:58 GMT

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

Tibor Digana edited comment on SUREFIRE-1305 at 11/25/16 5:14 AM:
------------------------------------------------------------------

{quote}
is there a simple way to run surefire programatically inside IDE? or how does surefire-team
run tests for the surefire itself?
{quote}

Here is a hint in documentation:

http://maven.apache.org/surefire/maven-surefire-plugin/examples/debugging.html

It would be more simple for you to debug tests within Maven profile and not in forked JVM.
To do so add {{<forkCount>0</forkCount>}} in Surefire plugin configuration and
debug afterwards.


was (Author: tibor17):
{quote}
is there a simple way to run surefire programatically inside IDE? or how does surefire-team
run tests for the surefire itself?
{quote}

Here is a hint in documentation:

http://maven.apache.org/surefire/maven-surefire-plugin/examples/debugging.html

It would be more simple for you to debug tests within Maven profile and not in forked JVM.
To do so add <forkCount>0</forkCount> in Surefire plugin configuration and debug
afterwards.

> surefire fails on parallel tests when newline character is in test description
> ------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1305
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1305
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.19.1
>            Reporter: Piotr Turski
>            Assignee: Tibor Digana
>
> zohhak runner may create test description with newline character in it. it runs without
any problem with surefire and non-parallel build and with parallel build when there is no
newline char in the description. furthermore it runs fine with plain junit in parallel mode
> * original issue was reported here: https://github.com/piotrturski/zohhak/issues/14
> * project that reproduces the issue: https://github.com/christophpickl/zohhak_parallel_bug
> * working parallel junit tests without surefire: https://github.com/piotrturski/zohhak/commit/806aafc8e09fd843753d2940991f3ca0edd5120d



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message