Updates to the testing files.
The test can now be run (after installing testthat and devtools), with command devtools::test().
The README for tests has not been updated yet.
The tests have to be run in the project root folder with devtools::test(). You can provide a filter input to the call to run only specific test file. To run the database specific tests the test needs to connect to the database. This works by creating two variables in the global environment: pivotalr_dbname and pivotalr_port with appropriate values.
There seems to be some value in keeping the older way to performing testing while internally changing the test execution to use latest testthat process.
Updates to the testing files. The test can now be run (after installing
testthat
anddevtools
), with commanddevtools::test()
.The README for tests has not been updated yet.
The tests have to be run in the project root folder with
devtools::test()
. You can provide afilter
input to the call to run only specific test file. To run the database specific tests the test needs to connect to the database. This works by creating two variables in the global environment:pivotalr_dbname
andpivotalr_port
with appropriate values.