bazel-contrib / bazel-contrib/rules_jvm

Gazelle support for junit4

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
54
Forks
98
Avg merge
6d 2h
Merged PRs (30d)
7

Description

Hey! I am trying out gazelle java extension for https://github.com/harness/harness-core

After running the tool, I noticed that the java_test_suite it generates has runner5 hardcoded and its adds respective runtime_deps also. We are still using junit4 -- can I somehow configure it to generate runner for junit4 without any runtime deps?

Contributor guide

Open the contributing guide

Research direction

Start with the Gazelle Java extension's generation of java_test_suite, focusing on the hardcoded runner5 and added runtime_deps described in the issue. Determine how JUnit4 support could be configured without those runtime dependencies; done means the generated suite uses a JUnit4 runner and omits the unnecessary runtime_deps.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.