Automatic AggregatorFactory tests
- Dominant language
- Java
- Stars
- 14.1k
- Forks
- 3.8k
- Avg merge
- 2d 58m
- Merged PRs (30d)
- 233
Description
Would be nice to be able to automatically recognize new `AggregatorFactory` implementations in the project and run some automatic tests, such as that [their comparators accept nulls](https://github.com/apache/incubator-druid/issues/5812), `getCombiningFactory().getCombiningFactory()` equals to `getCombiningFactory()`, etc.
Contributor guide
Research direction
Start by locating the AggregatorFactory interface, its implementations, and existing aggregator tests in the Druid repository. Determine how implementations can be discovered automatically, then define tests for comparator null handling and getCombiningFactory() idempotence. Done means the automatic suite covers new implementations and verifies these properties.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100