shinytest v1.4.0

0

Monthly downloads

0th

Percentile

Test Shiny Apps

For automated testing of Shiny applications, using a headless browser, driven through 'WebDriver'.

Readme

shinytest

Test Shiny Apps

CRAN RStudio mirror downloads R build status

RStudio community

Installation

To install the current release version:

install.packages("shinytest")

To install the development version:

devtools::install_github("rstudio/shinytest")

Usage

See the getting started guide to learn how to use shinytest.

License

MIT © Mango Solutions, RStudio

Functions in shinytest

Name Description
migrateShinytestDir Migrate legacy shinytest files to new test directory structure
Widget Class for a Shiny widget
sd_findWidget Try to deduce the shiny input/output element type from its name
dependenciesInstalled Checks all dependencies are installed
ShinyDriver Class to manage a shiny app and a phantom.js headless browser
installDependencies Installs missing dependencies
expectUpdate testthat expectation for a Shiny update
expect_pass Expectation: shinytest object passed snapshot tests
recordTest Launch test event recorder for a Shiny app
shinytest Test Shiny Apps
testApp Run tests for a Shiny application
viewTestDiffWidget Interactive viewer widget for changes in test results
viewTestDiff View differences in test results
textTestDiff Get textual diff of test results
snapshotCompare Compare current and expected snapshots
diffviewer_widget Creat an htmlwidget that shows differences between files or directories
No Results!

Last month downloads

Details

License MIT + file LICENSE
LazyData true
URL https://github.com/rstudio/shinytest
BugReports https://github.com/rstudio/shinytest/issues
RoxygenNote 7.1.0
Encoding UTF-8
SystemRequirements PhantomJS (http://phantomjs.org/)
NeedsCompilation no
Packaged 2020-06-18 16:04:44 UTC; winston
Repository CRAN
Date/Publication 2020-06-18 18:00:07 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/shinytest)](http://www.rdocumentation.org/packages/shinytest)