阅读背景:

如何在R中进行数据库连接/查询以进行单元测试

来源:互联网 

I am using the testthat library for unit testing in a R project. I want to test code that relies on database queries, but not test the actual queries themselves. In other words, I'd like to mock the database connections and queries (having them return a pre-determined data set or to hit a test database). library for unit testin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: