Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Test helpers

Source:R/test_helpers.R
testhelpers.Rd

These functions are designed to be used inside the testsin your Shiny app package.

Usage

expect_shinytag(object)expect_shinytaglist(object)expect_html_equal(ui,html,...)expect_running(sleep, R_path=NULL)

Arguments

object

the object to test

ui

output of an UI function

html

deprecated

...

arguments passed totestthat::expect_snapshot()

sleep

number of seconds

R_path

path to R. If NULL, the function will try to guess where R is.

Value

A testthat result.


[8]ページ先頭

©2009-2025 Movatter.jp