citrusframework / citrusframework/citrus
RepeatOnErrorUntilTrue Enhancement for Exceptions different from Citrus Exception
- Dominant language
- Java
- Stars
- 485
- Forks
- 155
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 6
Description
**User story**
> As a user, i want to repeat on error so that an action failed by any reason would be repeated
> It would be nice to have an option inside RepeatOnErrorUntilTrue to set wether or not all exceptions should be repeated.
**Additional context**
> I've implemented a combination of RepeatOnErrorUntilTrue and Catch using Catch.Builder.catchException().exception((String) null). This way i tell the catch action that it should catch no exception. The Catch Action will throw a CItrus Exception immediatly on any type of causing excpetion. This way the RepeatOnErrorUntilTrue executes the repeat logic.
Beste Grüße,
Stefan
Contributor guide
Research direction
Start by locating the RepeatOnErrorUntilTrue action and the Catch.Builder.catchException().exception(String) handling described in the issue. Trace how non-Citrus exceptions are converted or propagated, then determine how an option for repeating all exception types should behave. Done means the requested option works for exceptions other than Citrus exceptions and is covered by the project's relevant tests.
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