阅读背景:

R测试单元测试数据和辅助函数约定

来源:互联网 

I am writing a R package, and I'm using testthat for unit testing. Many of my unit tests are for testing functions that work on a certain object specific to my package. For these tests I have made a helper function to set up a mock object. I have a few other helper functions as well to cut down the amount of code in my unit tests.I am writing a R package, and I'm using testtha




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

分享到: