Skip to content

Add a usethis style method; Open record_test() in Chrome or external browser - #115

Merged
schloerke merged 20 commits into
mainfrom
trim_deps_add_use_shinytest
Mar 2, 2022
Merged

schloerke merged 20 commits into
mainfrom
trim_deps_add_use_shinytest

Conversation

@schloerke

@schloerke schloerke commented Mar 1, 2022 •

Copy link
Copy Markdown
Collaborator

Fixes #107
Fixes #91

Changes

  • Tighten package deps
  • Add use_shinytest()
  • Open record_test() in chromote::Chrome browser or by setting external viewer for RStudio IDE
    • Use chromote::default_chromote_object()$new_session() when creating new ChromoteSessions for AppDriver.
    • Following this behavior, we can use the default_chromote_object()$get_brower() to see if it is a Chrome instance.
  • test_app() performs an expectation if in testing mode to pass test chunks. Ex: test_that("my test", { test_app(path_to_app) })
  • Add internal helper method for shinycoreci-apps migration

@schloerke schloerke added this to the v0.0.1 milestone Mar 2, 2022
@schloerke schloerke changed the title Add a usethis style method Add a usethis style method; Open record_test() in Chrome or external browser Mar 2, 2022
@schloerke
schloerke marked this pull request as ready for review March 2, 2022 19:29
@schloerke
schloerke merged commit 90a8fe2 into main Mar 2, 2022
@schloerke
schloerke deleted the trim_deps_add_use_shinytest branch March 2, 2022 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use showimage::show_image() over png Add a use_shinytest2() function to build the scaffolding for the test files

1 participant