apache / apache/netbeans

Netbeans TestCreatorConfigurationProvider should allow loose classNames to comply with differents languages naming convention

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

Description

### Description

Right now the Netbeans Test Runner API only allow test Class names to end with .*Test.py.
This fit Java test class names but not Python were the naming convention for test file is more test_.*.py

Interesting comment:
https://github.com/apache/netbeans/blob/c084119009d2e0f736f225d706bc1827af283501/php/php.codeception/src/org/netbeans/modules/php/codeception/create/CodeceptionTestCreatorConfiguration.java#L114

### Use case/motivation

This will allow to comply with test class naming convention for different Languages

### Related issues

https://github.com/albilu/netbeansPython/issues/9

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

No

Contributor guide

Open the contributing guide

Research direction

Start with the NetBeans Test Runner API and the referenced php/php.codeception/src/org/netbeans/modules/php/codeception/create/CodeceptionTestCreatorConfiguration.java comment around line 114. Trace where test class names are restricted to the .*Test.py pattern and determine how naming conventions for different languages should be represented. Done means the configuration accepts the requested Python-style test_.*.py convention without breaking existing conventions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.