I think it was already fix with this PR:
https://github.com/apache/netbeans/pull/1632

Regards
Jose

El mié., 18 dic. 2019 a las 6:36, John Mc (<mcdonnell.j...@gmail.com>)
escribió:

> Hi Michael,
>
> Can you create a JIRA ticket for this please?
>
> https://issues.apache.org/jira/projects/NETBEANS
>
> If I get some time over Christmas, I might look to fix it, if possible so
> we can help others out moving forward?
>
> Regards
>
> John
>
> On Wed, 18 Dec 2019 at 10:44, Michael Remijan <mjremi...@yahoo.com> wrote:
>
>> I am using Maven 3.3.9 bundled with NetBeans.
>>
>> This version of Maven uses the 2.12.4 version of the surefire plugin. I
>> switched to the latest non-milestone version:
>>
>> <pluginManagement>
>>     <plugins>
>>         <plugin>
>>             <artifactId>maven-surefire-plugin</artifactId>
>>             <version>2.22.2</version>
>>         </plugin>
>>     </plugins>
>> </pluginManagement>
>>
>> And now it works. Thanks for the help!
>>
>>
>> On Wednesday, December 18, 2019, 02:03:14 AM CST, John Mc <
>> mcdonnell.j...@gmail.com> wrote:
>>
>>
>> Hi
>>
>> What version of maven are you running?
>>
>> Include the maven surefire plugin but check the JUnit 5 documentation for
>> what is the minimum version supported. I think off the top of my head it's
>> something like 2.21 but double check on their site.
>>
>> I'd guess that when you include that plugin I to your pom, Maven will
>> start to execute your tests.
>>
>> Regards
>>
>> John
>>
>> On Wed, 18 Dec 2019, 03:19 Michael Remijan, <mjremi...@yahoo.com.invalid>
>> wrote:
>>
>> I've started a brand new Maven project and had NetBeans take care of the
>> POM updates when I added a unit test. NetBean automatically put in the
>> dependencies for JUnit 5. So far so good. But I can't seem to get the test
>> to run. NetBeans is always saying: "No tests executed".  Below are the
>> details...can't get much more simple I think.
>>
>> C O M M A N D    L I N E
>> Here is the command line to run the tests (Alt + F6):
>>
>> cd D:\Projects\thoth-email;
>> JAVA_HOME=D:\\Applications\\java\\zulu11.35.15-ca-jdk11.0.5-win_x64 cmd /c
>> "\"\"D:\\Applications\\netbeans\\netbeans-11.0\\java\\maven\\bin\\mvn.cmd\"
>> -Dmaven.ext.class.path=D:\\Applications\\netbeans\\netbeans-11.0\\java\\maven-nblib\\netbeans-eventspy.jar
>> -Dfile.encoding=UTF-8 test\""
>>
>> P O M
>> Here is the POM:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
>> http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>     <modelVersion>4.0.0</modelVersion>
>>     <groupId>org.thoth</groupId>
>>     <artifactId>thoth-email</artifactId>
>>     <version>1.0.0.0-SNAPSHOT</version>
>>     <packaging>jar</packaging>
>>     <properties>
>>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>>         <maven.compiler.source>11</maven.compiler.source>
>>         <maven.compiler.target>11</maven.compiler.target>
>>     </properties>
>>
>>     <dependencies>
>>         <dependency>
>>             <groupId>org.junit.jupiter</groupId>
>>             <artifactId>junit-jupiter-api</artifactId>
>>             <version>5.3.1</version>
>>             <scope>test</scope>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.junit.jupiter</groupId>
>>             <artifactId>junit-jupiter-params</artifactId>
>>             <version>5.3.1</version>
>>             <scope>test</scope>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.junit.jupiter</groupId>
>>             <artifactId>junit-jupiter-engine</artifactId>
>>             <version>5.3.1</version>
>>             <scope>test</scope>
>>         </dependency>
>>     </dependencies>
>> </project>
>>
>>
>> J U N I T    T E S T
>> Here is the Unit test...
>>
>> package org.thoth.email.ssl;
>> import org.junit.jupiter.api.Assertions;
>> import org.junit.jupiter.api.BeforeEach;
>> import org.junit.jupiter.api.Test;
>> public class SSLTest {
>>     public SSLTest() {
>>     }
>>     @BeforeEach
>>     public void setUp() {
>>     }
>>     @Test
>>     public void a_test() throws Exception
>>     {
>>         System.out.printf("Hello test!%n");
>>         Assertions.assertEquals("A", "A");
>>     }
>> }
>>
>>
>> Any thoughts?
>>
>>

Reply via email to