rstudio / rstudio/shinytest2

Support recording tests for remote apps

Open
#347 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
123
Forks
23
PR merge metrics
No merged PRs in 30d

Description

hi,

Is it possible to update shinytest2 to support remote apps testing?

Indeed I can't run shinytest2 in Rstudio Workbench and testing localhost app on my laptop will be a good alternative.

Expect usage:

shinytest2::record_test(app="http://127.0.0.1:5000")

Thanks,

Paulin

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at shinytest2::record_test(app=...) and inspect how current recording handles app URLs. Reproduce the RStudio Workbench scenario described using a localhost URL; done means recording tests accepts a remote app URL such as http://127.0.0.1:5000 for the stated use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.