citrusframework / citrusframework/citrus-db
Add SQLExceptions for Standalone JDBC Server
- Dominant language
- Java
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
As a test designer, I want to be able to specify und which conditions a SQLException should be thrown, to be able to test the behavior of the software in case of an error. In addition, the exceptions should be thrown as an SQLException from the driver implementation.
#3 already implemented the embedded variant. Here is the outcome from that issue concerning the standalone server.
- Merge `thenThrow` with `thenRefuse`
- `thenRefuse` accepts no parameter or a `Exception` instance
- If the rule states, that the exception should be thrown, the exception is transmitted to the driver and then returned as the cause of an SQLException
Contributor guide
Research direction
Start by reviewing the embedded variant from issue #3, then trace the standalone server and driver implementation mentioned here. The work is complete when thenThrow is merged with thenRefuse, thenRefuse accepts no argument or an Exception, and configured exceptions reach the driver as the cause of an SQLException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100