You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Michael Bien (Jira)" <ji...@apache.org> on 2022/02/01 15:53:00 UTC

[jira] [Commented] (NETBEANS-6424) Getting Started - Testing - Failed

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

Michael Bien commented on NETBEANS-6424:
----------------------------------------

Hi,

on first glance it looks like you are missing a test method.

add one and mark it with the
{code:java}
@Test
{code}
annotation.

Once you have a test method, NetBeans should be able to run it. Btw if you think something is wrong with the tutorial, you can contribute a fix - even If you are new to all this. 

Scroll down and press "See this page in GitHub." where you can edit it.

> Getting Started - Testing - Failed
> ----------------------------------
>
>                 Key: NETBEANS-6424
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6424
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - JUnit
>    Affects Versions: 12.6
>         Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
> *Runtime:* Java(TM) SE Runtime Environment 1.8.0_25-b17
> *System:* Mac OS X version 10.15.7 running on x86_64; UTF-8; de_DE (nb)
>            Reporter: Paul
>            Assignee: Paul
>            Priority: Trivial
>              Labels: beginner, documentation, test
>             Fix For: 12.6
>
>         Attachments: JUnit 4 _ Harmcrest 1.jpg, NB Test - public void testAcrostic.jpg, Run Test File-1.jpg, Run Test File-1_Fault.jpg
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> I am a newbie. I am trying to test my 1st app. I am learning by using:
> h4. Java SE Learning Trail, Getting Started - Testing and Debugging the Application. 
> Following the instruction dos not work: "In {{{}LibClassTest.java{}}}, delete the body of the *{{public void testAcrostic()}}* method, and ..." the  "testAcrostic" {color:#ff0000}is not displayed at all{color}.
> The inserted lines result in the error message : {color:#ff0000}1. No runnable method{color}.
> See screenshots attached.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
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