Open maelle opened 5 years ago
At the moment the tests check the class of the output of ibmsunburst.
ibmsunburst
It'd be nice to add tests that check the output against a saved output like what vdiffr does for ggplot2 objects.
vdiffr
ggplot2
Tasks:
[ ] Identify an example or examples of htmlwidget package(s) testing in the wild.
[ ] Apply the setup to this package.
leaflet is the only htmlwidget that I know of that implements vis testing as shown in viztest.R. I have not used the package viztest designed for this purpose.
leaflet
viztest
Thanks! This test isn't even an actual test in leaflet, so really testing widgets seem quite confidential at the moment then?
At the moment the tests check the class of the output of
ibmsunburst
.It'd be nice to add tests that check the output against a saved output like what
vdiffr
does forggplot2
objects.Tasks:
[ ] Identify an example or examples of htmlwidget package(s) testing in the wild.
[ ] Apply the setup to this package.