{"id":14067755,"url":"https://github.com/r-dbi/DBItest","last_synced_at":"2025-07-30T02:31:23.863Z","repository":{"id":2100781,"uuid":"41175020","full_name":"r-dbi/DBItest","owner":"r-dbi","description":"Testing DBI drivers","archived":false,"fork":false,"pushed_at":"2025-07-26T02:31:19.000Z","size":13725,"stargazers_count":24,"open_issues_count":44,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-26T15:04:58.653Z","etag":null,"topics":["database","r","testing"],"latest_commit_sha":null,"homepage":"http://dbitest.r-dbi.org","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-dbi.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-08-21T20:00:45.000Z","updated_at":"2025-06-19T17:57:03.000Z","dependencies_parsed_at":"2023-07-05T18:48:20.102Z","dependency_job_id":"1a75a9d1-5ef9-46d7-9092-2556da4aae42","html_url":"https://github.com/r-dbi/DBItest","commit_stats":{"total_commits":2150,"total_committers":18,"mean_commits":"119.44444444444444","dds":0.4330232558139535,"last_synced_commit":"2c29217bdd0b3314e6ec65216d99a3bf83a63464"},"previous_names":[],"tags_count":184,"template":false,"template_full_name":null,"purl":"pkg:github/r-dbi/DBItest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dbi%2FDBItest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dbi%2FDBItest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dbi%2FDBItest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dbi%2FDBItest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-dbi","download_url":"https://codeload.github.com/r-dbi/DBItest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dbi%2FDBItest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","r","testing"],"created_at":"2024-08-13T07:05:45.714Z","updated_at":"2025-07-30T02:31:23.517Z","avatar_url":"https://github.com/r-dbi.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# DBItest\n\n\u003c!-- badges: start --\u003e\n[![rcc](https://github.com/r-dbi/DBItest/workflows/rcc/badge.svg)](https://github.com/r-dbi/DBItest/actions)\n[![Codecov test coverage](https://codecov.io/gh/r-dbi/DBItest/branch/main/graph/badge.svg)](https://app.codecov.io/gh/r-dbi/DBItest?branch=main)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/DBItest)](https://cran.r-project.org/package=DBItest)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3503/badge)](https://bestpractices.coreinfrastructure.org/projects/3503)\n\u003c!-- badges: end --\u003e\n\nThis package is primarily useful for developers of [DBI](https://dbi.r-dbi.org) backends.\nIt provides a considerable set of test cases for DBI backends.\nThese test cases correspond to the [DBI specification](https://dbi.r-dbi.org/articles/spec).\nPlease follow the steps below to add these test cases to your DBI backend.\n\n\n## Installation\n\nInstall from CRAN via\n\n```r\ninstall.packages(\"DBItest\")\n```\n\nor the development version using\n\n```r\ndevtools::install_github(\"r-dbi/DBItest\")\n```\n\n## Usage\n\nIn your driver package, add `DBItest` to the `Suggests:` and enable the tests.\nRun the following code in you package's directory:\n\n```r\n# install.packages(\"usethis\")\nusethis::use_package(\"DBItest\", \"suggests\")\nusethis::use_test(\"DBItest\")\n```\n\nThis enables testing using `testthat` (if necessary) and creates, among others, a file `test-DBItest.R` in the `tests/testthat` directory.\nReplace its entire contents by the following:\n\n```r\nDBItest::make_context(Kazam(), NULL)\nDBItest::test_all()\n```\n\nThis assumes that `Kazam()` returns an instance of your `DBIDriver` class.\nAdditional arguments to `dbConnect()` are specified as named list instead of the `NULL` argument to `make_context()`.\nThe `default_skip` argument to `make_context()` allows skipping tests that are not (yet) satisfied by your backend.\n\nFurther reading:\n\n- Detailed instructions in `vignette(\"DBItest\")`\n\n- The feature list in the [original proposal](https://github.com/r-dbi/DBItest/wiki/Proposal).\n\n---\n\nPlease note that the 'DBItest' project is released with a\n[Contributor Code of Conduct](https://dbitest.r-dbi.org/CODE_OF_CONDUCT.html).\nBy contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-dbi%2FDBItest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-dbi%2FDBItest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-dbi%2FDBItest/lists"}