Good day all,
I have spent quite some time looking into ways to perform unit test on my UI, specifically on my valuebox, progressbar, barcharts, etc. Firstly I am not exactly sure if "unit test" is the right term in this context so please kindly correct me if I am wrong. What I intend to do is to ensure that for example that the valuebox appears as intended (if I want 10 to appear on it, it should appear as 10 and not other number), the progressbar will progress accordingly to a reactive data.
I have looked into an R package called shinytest and they seem to have a snapshot approach which may not be feasible if we intend to extract data from a reactive database. I then tried out an article from R with regards to unit testing and was wondering if that is the right path for me.
Can I kindly get advice from experts that incorporate testing into their dashboard?
Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire