Any way to know when a shiny app terminates/if a shiny app is currently alive?

Open
#320 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the related shinytest2#304 discussion and the driver API around app lifecycle. Reproduce a Shiny app that calls shiny::stopApp(), then determine how the driver can report whether it remains alive. Done means a tested way for driver$is_running() or an agreed equivalent to return FALSE after termination.

Written by the indexing model from the issue text.

Description

This is related to https://github.com/rstudio/shinytest2/issues/304 . That issue is concerned with testing for an error or error message. In this issue I'm wondering if it's possible to merely know if a shiny app is alive. Something like driver$is_running() that would return FALSE after shiny::stopApp() is called.

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

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.

More from rstudio/shinytest2

All issues in rstudio/shinytest2

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.