First of all, you have understood well the concept of the expected values; that is we compare some values obtained locally against the results from DataSHIELD.
In its current form, there is more than ds.mean that has some expected-values tests. A few more functions are being written too
Since we have devised the. Test_data sets, it has been acknowledged between Demetris, Alex, Hasan and myself it may not be suitable yet for every type of functions. So, Alex has been working on a new data set to test any function that groups
data and do something with these results. We have included some positive and negative integer and decimal values. We have also included some characters values. The testing datasets includes some data types that are included in R. These testing datasets should
not only hold the numerical values, but some also some characters, Boolean and other factors. Then, we can test all functions with those and check they return the expected outcome, like in R.
We store the data sets locally as .csv files. We also store the same data in our VMs used to test locally and in the continuous integration. Then, we can compare the data. I am wondering if we should discuss over a Skype call your needs for the
test data. Then, I can understand better, how I can help you.
Contact me to my normal email and we can arrange a suitable time.
Dr Patricia Ryser-Welch
When restraint and courtesy are added to strength, the latter becomes irresistible.
Start by doing what’s necessary; then do what’s possible; and suddenly you are doing the impossible.