citrusframework / citrusframework/citrus

Enhance ExecuteSQLQueryBuilder#validateScript() to allow chaining for multiple validations

Open
#479 0 comments 0 reactions 0 assignees View on GitHub
enhancement prio-low
Dominant language
Java
Stars
485
Forks
155
Avg merge
4d 22h
Merged PRs (30d)
6

Description

**User story**
As a citrus user, I would like to be able to chain `ExecuteSQLQueryBuilder#validateScript` calls to add multiple validation scripts, so that each script (and resulting error message) is as distinct as possible.

**Additional context**
Error messages are getting unwieldy when chaining script validations with `&&`. Also, we experienced that devs tend to expect `validateScript` to be chainable.

Contributor guide

Open the contributing guide

Research direction

Start at ExecuteSQLQueryBuilder#validateScript and inspect how repeated calls are currently handled. Verify that multiple calls can be chained, that each validation script remains distinct, and that each resulting error message is separate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.