Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Aggregate specified Assertions

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start by reviewing the plugin's current assertion-generation entry point and the generated assertion output. Define how the aggregation class and package, class, include, and exclude configuration should work, then verify that generated and custom assertions are exposed through one entry point.

Written by the indexing model from the issue text.

Description

Enhancement

Use case:

  • I have generated the assertions for my model
  • I have created some custom assertions
  • I'm still using the standard assertions

And I'd like to use a single "Assertions" class (entry point).

Configuration could be:

  • the FQN of the aggregation class
  • a list of packages containing Assert implementations
  • a list of classes implementing Assert
  • a list of includes to restrict classes to aggregate (regex)
  • a list of excludes to exclude classes to aggregate (regex)

So basically the generator will copy all the model generated and custom

public static XxxxxAssert assertThat(Xxxxx actual) {
    return new XxxxxAssert(actual);
}

into one class inheriting Assertions.

Dominant language
Java
Stars
30
Forks
27
PR merge metrics
No merged PRs in 30d

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 assertj/assertj-assertions-generator-maven-plugin

All issues in assertj/assertj-assertions-generator-maven-plugin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.