Use source information from classfile attributes (when available) and expose path

Open
#1,623 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
testing-qa

Research direction

Start by tracing how classfile attributes are read and how EvaluationResult exposes failure information; the issue does not name specific files or tests. Check existing evaluation API tests before deciding where source paths belong. Done means source information is exposed through the evaluation API when available, without requiring consumers to parse failure messages.

Written by the indexing model from the issue text.

Description

To better integrate ArchUnit with tooling, it would be great if source information (where available) could be exposed in the evaluation API. Currently, the only way to get this information from an EvaluationResult is by attempting to parse it from the failure messages, which is unreliable and unsafe.

Dominant language
Java
Stars
3.9k
Forks
350
Avg merge
3d 2m
Merged PRs (30d)
13

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TNG/ArchUnit

All issues in TNG/ArchUnit

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.