Package: shinytest2 0.5.1

Barret Schloerke

shinytest2: Testing for Shiny Applications

Automated unit testing of Shiny applications through a headless 'Chromium' browser.

Authors:Barret Schloerke [cre, aut], Posit Software, PBC [cph, fnd], Winston Chang [ctb], Gábor Csárdi [ctb], Hadley Wickham [ctb], Mango Solutions [cph, ccp]

shinytest2_0.5.1.tar.gz
shinytest2_0.5.1.zip(r-4.7)shinytest2_0.5.1.zip(r-4.6)shinytest2_0.5.1.zip(r-4.5)
shinytest2_0.5.1.tgz(r-4.6-x86_64)shinytest2_0.5.1.tgz(r-4.6-arm64)shinytest2_0.5.1.tgz(r-4.5-x86_64)shinytest2_0.5.1.tgz(r-4.5-arm64)
shinytest2_0.5.1.tar.gz(r-4.7-arm64)shinytest2_0.5.1.tar.gz(r-4.7-x86_64)shinytest2_0.5.1.tar.gz(r-4.6-arm64)shinytest2_0.5.1.tar.gz(r-4.6-x86_64)
shinytest2_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
shinytest2/json (API)
NEWS

# Install 'shinytest2' in R:
install.packages('shinytest2', repos = c('https://posit-dev-shinycoreci.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rstudio/shinytest2/issues

Pkgdown/docs site:https://rstudio.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

12.34 score 121 stars 976 scripts 21k downloads 15 exports 66 dependencies

Last updated from:3844574d93. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK191
linux-devel-x86_64OK168
source / vignettesOK245
linux-release-arm64OK173
linux-release-x86_64OK164
macos-release-arm64OK133
macos-release-x86_64OK276
macos-oldrel-arm64OK101
macos-oldrel-x86_64OK207
windows-develOK156
windows-releaseOK152
windows-oldrelOK151
wasm-releaseOK172

Exports:AppDrivercompare_screenshot_thresholdget_input_processorsload_app_envload_app_supportlocal_app_supportmigrate_from_shinytestplatform_variantrecord_testregister_input_processorscreenshot_max_differencetest_appuse_shinytest2use_shinytest2_testwith_app_support

Dependencies:AsioHeadersaskpassbackportsbase64encbriobslibcachemcallrcheckmatechromoteclicodetoolscommonmarkcpp11crayoncurldescdiffobjdigestevaluatefastmapfontawesomefsglobalsgluehighrhtmltoolshttpuvhttr2jquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeopensslotelpingrpkgbuildpkgloadpraiseprocessxpromisespsR6rappdirsRcpprlangrmarkdownrprojrootsassshinysourcetoolssystestthattinytexvctrswaldowebsocketwithrxfunxtableyamlzip

Auditing Shiny apps

Rendered fromuse-application-audit.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-09-13

Frequently Asked Questions

Rendered fromzzz-faq.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-03-30

Getting started with shinytest2

Rendered fromshinytest2.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-25
Started: 2022-03-18

Migrating from shinytest

Rendered fromz-migration.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2022-04-27
Started: 2022-03-30

Monkey testing

Rendered fromusing-monkey-testing.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-03-30

Robust testing

Rendered fromrobust.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-03-30

Testing in depth

Rendered fromin-depth.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-03-18

Using shinytest2 with continuous integration

Rendered fromuse-ci.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2023-10-13
Started: 2022-03-30

Using shinytest2 with R packages

Rendered fromuse-package.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-09
Started: 2022-03-30

Readme and manuals

Help Manual

Help pageTopics
Drive a Shiny applicationAppDriver
Compare screenshots given threshold valuecompare_screenshot_threshold screenshot_max_difference
Attach the Shiny application's support environmentload_app_support local_app_support with_app_support
Migrate 'shinytest' testsmigrate_from_shinytest
Platform specific variantplatform_variant
Launch test event recorder for a Shiny apprecord_test
Test Shiny applications with 'testthat'test_app
Use 'shinytest2' with your Shiny applicationuse_shinytest2 use_shinytest2_test