| build_connection | Helper function to build the connection. |
| db_connection | Obtain a connection to a database. |
| db_test_con | Create a connection to a test database for testing database... |
| db_test_that | Run a single testthat test in a self-contained database... |
| drop_all_test_tables | Drop all the tables in the test database. |
| expect_sql_equals | Expect that a certain SQL statement will evaluate to a... |
| expect_sql_exists | Expect that a certain SQL statement will have a result. |
| expect_table | Expect that the table exists in the test database. |
| expect_table_has | Expect that the table has a certain property. |
| is_db_connected | Helper function to check the database connection. |
| read_yml | Reads a yaml file from a specified path. |
| with_test_db | Run a block of code where all DBI connections are mocked with... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.