jumpingrivers / ibmsunburst

R 📦 for the IBM ☀📈 for the Personality Insights data
https://jumpingrivers.github.io/ibmsunburst
Other
7 stars 2 forks source link

Add tests checking the content of the widget #9

Open maelle opened 5 years ago

maelle commented 5 years ago

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 for ggplot2 objects.

Tasks:

timelyportfolio commented 5 years ago

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.

maelle commented 5 years ago

Thanks! This test isn't even an actual test in leaflet, so really testing widgets seem quite confidential at the moment then?