{"repo":"r-dbi/DBItest","free":true,"listed":false,"github":"https://github.com/r-dbi/DBItest","clone":"git clone https://github.com/r-dbi/DBItest.git","description":"Testing DBI drivers","language":"R","stars":24,"topics":["r","database","testing"],"license":"LGPL-2.1","category":"databases-storage","readme_excerpt":"DBItest This package is primarily useful for developers of DBI backends. It provides a considerable set of test cases for DBI backends. These test cases correspond to the DBI specification. Please follow the steps below to add these test cases to your DBI backend. Installation Install from CRAN via or the development version using Usage In your driver package, add DBItest to the Suggests: and enable the tests. Run the following code in you package's directory: This enables testing using testthat (if necessary) and creates, among others, a file test-DBItest.R in the tests/testthat directory. Replace its entire contents by the following: This assumes that Kazam() returns an instance of your DBIDriver class. Additional arguments to dbConnect() are specified as named list instead of the NULL argument to make context() . The default skip argument to make context() allows skipping tests that are not (yet) satisfied by your backend. Further reading: - Detailed instructions in vignette(\"DBItest\") - The feature list in the original proposal. --- Please note that the 'DBItest' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.","default_branch":null,"files":null,"tree":[],"storefront":"/r/r-dbi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/r-dbi/DBItest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}