You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pieter van den Hombergh (JIRA)" <ji...@apache.org> on 2018/12/24 13:38:00 UTC
[jira] [Updated] (NETBEANS-1821) maven template should include
surefire plugin to run tetst
[ https://issues.apache.org/jira/browse/NETBEANS-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pieter van den Hombergh updated NETBEANS-1821:
----------------------------------------------
Description:
{{when there is no maven sure-fire spec like}}
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
There are no test run.
To recreate: Create a simple maven java project, add a junit-test with one failing test.
Invoke test project from the right-click menu. No test is run.
Adding the sure-fire plugin as above in e.g. <build><plugins>...</plugins></build> fixes the issue. This behaviour is consistent with the maven behaviour (tested with cli version 5.3.2), so is maven, not netbeans, specific.
was:
{{when there is no maven sure-fire spec like}}
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
There are no test run.
To recreate: Create a simple maven java project, add a junit-test with one failing test.
Invoke test project from the right-click menu. No test is run.
Adding the sure-fire plugin as above in e.g. <build><plugins>...</plugins></build> fixes the issue. This behaviour is consistent with the maven behaviour (tested with cli version 5.3.2), so is maven, not netbeans specific.
> maven template should include surefire plugin to run tetst
> ----------------------------------------------------------
>
> Key: NETBEANS-1821
> URL: https://issues.apache.org/jira/browse/NETBEANS-1821
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 10.0
> Reporter: Pieter van den Hombergh
> Priority: Major
>
> {{when there is no maven sure-fire spec like}}
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.22.1</version>
> </plugin>
> There are no test run.
> To recreate: Create a simple maven java project, add a junit-test with one failing test.
> Invoke test project from the right-click menu. No test is run.
> Adding the sure-fire plugin as above in e.g. <build><plugins>...</plugins></build> fixes the issue. This behaviour is consistent with the maven behaviour (tested with cli version 5.3.2), so is maven, not netbeans, specific.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists