[Bioc-devel] test coverage of a shiny app

Marcel Ramos mramos09 at gmail.com
Sat Apr 22 01:38:39 CEST 2017

Hi Sam,
This is a pertinent issue to shiny app development and there are continuing
efforts to create unit tests for shiny applications.

At the moment, there is a package dedicated to providing tests for shiny
applications but it has not been published.
See: https://github.com/rstudio/shinytest

This link may also provide some testing examples:

In the meantime, I would advise to simply test the functions and
manipulations that generate the data for your shiny application.
I'm eager to hear other developer's inputs on this subject.

Best regards,

On Tue, Apr 11, 2017 at 2:46 AM Samuel Wieczorek <samuel.wieczorek at cea.fr>

> Hi
> I am the developer of the packages Prostar ad DAPAR and I would like to
> write some unit test for Prostar which contains a Shiny application. I
> wrote a test script in the 'test' directory where I am using functions
> from the shiytest package but I don't know how to really test my app
> (Prostar()). And then, the result of packages_coverage is still equal to
> 0%.
> Is there anyone who has already developed a Shiny app with unit tests ?
> I would appreciate some examples.
> Thanks in advance
> Sam
> --
> *Samuel Wieczorek
> Etude de la Dynamique des Protéomes (EDyP)*
> *Laboratoire Biologie à Grande Echelle (BGE)*
> *U1038 INSERM / CEA / UGA*
> *Biosciences and Biotechnology Institute of Grenoble (BIG)*
> *CEA / Grenoble*
> *17 avenue des Martyrs*
> *F-38054 Grenoble Cedex 9*
> */Tél. :*
> */Fax :*
> http://www.edyp.fr/
>         [[alternative HTML version deleted]]
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

	[[alternative HTML version deleted]]

More information about the Bioc-devel mailing list