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

Think about testing transactions #36

Closed
2 tasks done
krlmlr opened this issue Nov 14, 2015 · 1 comment
Closed
2 tasks done

Think about testing transactions #36

krlmlr opened this issue Nov 14, 2015 · 1 comment
Assignees
Milestone

Comments

@krlmlr
Copy link
Member

krlmlr commented Nov 14, 2015

  • dbBegin() and dbCommit()
  • dbBegin() and dbRollback()

Tests available in RSQLite.

@krlmlr krlmlr added this to the bluesky milestone Nov 14, 2015
@krlmlr krlmlr self-assigned this Aug 19, 2016
@krlmlr krlmlr modified the milestones: bluesky, 1.4 Sep 16, 2016
krlmlr added a commit that referenced this issue Sep 17, 2016
- Rough draft of transaction tests.
krlmlr added a commit that referenced this issue Sep 17, 2016
- Refactored `bind_` tests to use the new `parameter_pattern` tweak (#95).
- Rough draft of transaction tests (#36).
krlmlr added a commit that referenced this issue Dec 4, 2016
- Use markdown in documentation.
- Description of parametrized queries and statements (#88).
- New hidden `DBIspec-wip` page for work-in-progress documentation.
- Get rid of "Format" and "Usage" sections, and aliases, in the specs.

- Not testing for presence of `max.connections` element in `dbGetInfo(Driver)` (r-dbi/DBI#56).
- Test multi-row binding for queries and statements (#96).
- New `ellipsis` check that verifies that all implemented DBI methods contain `...` in their formals. This excludes `show()` and all methods defined in this or other packages.
- Refactored `bind_` tests to use the new `parameter_pattern` tweak (#95).
- Rough draft of transaction tests (#36).
- New `fetch_zero_rows` test, split from `fetch_premature_close`.
- The "compliance" test tests that the backend package exports exactly one subclass of each DBI virtual class.
- Document and enhance test for `dbDataType("DBIDriver", "ANY")` (#88).
- Minor corrections for "bind" tests.

- Isolate stress tests from main test suite (#92).
- Refactor test specification in smaller modules, isolated from actual test execution (#81). This breaks the documentation of the tests, which will be substituted by a DBI specification in prose.
- Align description of binding with code.
- Refactor tests for `dbBind()`, test is run by `BindTester` class, and behavior is specified by members and by instances of the new `BindTesterExtra` class.
- The `skip` argument to the `test_()` functions is again evaluated with `perl = TRUE` to support negative lookaheads (#33).
- Use `dbSendStatement()` and `dbExecute()` where appropriate.
- Avoid empty subsections in Rd documentation to satisfy `R CMD check` (#81).
@krlmlr
Copy link
Member Author

krlmlr commented Mar 25, 2017

Transaction tests are reasonably complete by now.

@krlmlr krlmlr closed this as completed Mar 25, 2017
@ghost ghost removed the in progress label Mar 25, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant