Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQLExceptions for Standalone JDBC Server #11

Open
svettwer opened this issue Mar 17, 2018 · 0 comments
Open

Add SQLExceptions for Standalone JDBC Server #11

svettwer opened this issue Mar 17, 2018 · 0 comments

Comments

@svettwer
Copy link
Contributor

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
@svettwer svettwer added this to the SOMEDAY milestone Mar 17, 2018
@svettwer svettwer modified the milestones: SOMEDAY, V1.0.0 May 15, 2018
@svettwer svettwer removed this from the V1.0.0 milestone Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant