dbplyr icon indicating copy to clipboard operation
dbplyr copied to clipboard

transition `expect_error()` for snowflake backend

Open simonpcouch opened this issue 1 year ago • 0 comments
trafficstars

Related to the first checkbox in #1546 but does not close; a demo of what that PR would look like for all backends.

For snowflake, transition expect_error():

  • ...to snapshot when testing the error message
  • ...to classed error when testing an error from another package or an error thrown from a widely-used helper
  • ...to expect_no_error() (or no test) when regex = NA
  • Analogous story for expect_warning() and expect_message().

simonpcouch avatar Oct 21 '24 14:10 simonpcouch