Skip to content

DBItest 1.7.1

Compare
Choose a tag to compare
@krlmlr krlmlr released this 01 Aug 16:53

Features

  • Many tests now emit simpler stack traces, because the connection is opened by the test driver and not by the test itself (#187). Reduce usage of with_remove_test_table() for better stack traces on error (#196). Remove with_*connection() (#193).
  • test_some() shows DBI code via dblog (#217) if dblog = TRUE (#226).
  • New "bind_date_integer", "bind_time_seconds" and "bind_time_hours" tests (#218).
  • New create_table_as tweak (#131).
  • "roundtrip_time" and "append_roundtrip_time" tests now also test values of class "difftime" with units other than "secs" (#199).
  • All tables created by the tests have the "dbit" prefix. Almost all tests now use random table names to avoid collisions and unrelated test failures (#197).
  • "roundtrip_timestamp" tests now accept a time zone set by the database backend (#178, #198).
  • Support more than one class of each type in DBI backend packages.

Bug fixes

  • Fix input dataset in "overwrite_table_missing" test (#210, @martinstuder).
  • Use original test name to decide if a test is skipped (#225).
  • Fix reexport test: skip if package is not installed, remove checks for deprecated functions and functions not reexported (#203).

Internal

  • Requires DBI 1.1.1.
  • Test odbc as part of the backend tests (#228).
  • Dynamic build matrix for backends (#221).
  • Compatibility with testthat 3.0.0 (#207).
  • Switch to GitHub Actions (#201).