Jan Rojcek - NetBeans Wiki

netbeans.org

Jan Rojcek - NetBeans Wiki

JUnit License Issue

Jan Rojcek

February 2011, version 0.2

Best viewed in actual size (1280 by 720)


Installer


No radio button is selected by

default. The Accept radio is

focused.

3


JUnit library note appears in

the summary panel.

4


Progress label and bar are

disabled when error message

appears.

Retry button is focused.

5


Open Project


Current State

Proposed


New Project


New Project wizard creates a Java Project with no reference to the

JUnit library to avoid broken references. The JUnit library is installed

when the user actually starts using JUnit, either by creating a JUnit

file or by using the Create JUnit Tests action.


New File


JUnit file types are not yet

enabled.

The description informs about

not yet enabled feature.

11


The progress bar disappears

automatically. The wizard

shows license in the same step.

The steps pane indicates the

activation is a two step

process.

12


JUnit license replaces the

progress bar.

Next is disabled until the user

check the Accept check box.

13


Download and installation is

displayed in the same (ideally

deterministic) progress bar.

The wizard progresses

automatically to the next step

after installing JUnit.

14


Title and steps pane change

after installing JUnit.

15


Tools | Create JUnit Tests


Tools | Create JUnit Tests

Why is the contextual Tools

action different from New File

New File | Test for Existing Class

17


Tools | Create JUnit Tests

Ideally the Tools action would just open the New

File wizard and use the same activation sequence.

4 steps inserted

If it stays in a separate dialog box. The activation

wizard needs to open before.

18


Tools | Create JUnit Tests

4 steps inserted

19


Tools | Create JUnit Tests

4 steps inserted

20


Tools | Create JUnit Tests

4 steps inserted

21


Questions

jan.rojcek@oracle.com

More magazines by this user
Similar magazines