apache / apache/netbeans

"Create / Update Tests" (Selenium) does not work for web application projects

Open
#7,143 0 comments 0 reactions 0 assignees View on GitHub
Java kind:bug needs:triage tests
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 21

### What happened

Create / update JUnit tests does not work for web application projects: A missing test package folder is complained about erroneously.

### Language / Project Type / NetBeans Component

Java / Java web application / Unit tests

### How to reproduce

Create a new web application project. Click Tools -> Create / Update Tests ...

![netbeans21-screenshot2](https://github.com/apache/netbeans/assets/83238864/6bf1b68c-1749-4946-a578-4618191c9ecd)

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Win10

### JDK

openJDK21

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start with the Tools -> Create / Update Tests action in a Java web application project and reproduce the missing test package folder complaint on Apache NetBeans 21. Compare the behavior for web application projects with the JUnit test flow; done means tests can be created or updated without the erroneous missing-folder error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.