WindowFnTestUtils#runWindowFn should be removed
Open
bug
core
good first issue
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 205
Description
Its use makes test methods (like most SlidingWIndow tests) very difficult to read, as there's no obvious behavior that is being tested for.
Imported from Jira [BEAM-2525](https://issues.apache.org/jira/browse/BEAM-2525). Original Jira may contain additional context.
Reported by: tgroh.
Contributor guide
Research direction
Search for WindowFnTestUtils#runWindowFn and its uses, especially in the SlidingWIndow tests. Read the surrounding test cases to identify the behavior currently hidden by the helper, then run the affected Java tests. Done means the helper is removed, tests express their behavior directly, and the affected tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100