Skip to content

expect_running either misleading or incorrectly passing #690

@jamieRowen

Description

@jamieRowen

For reproduceable example:

golem::create_golem("test")
golem::use_recommended_tests()

Changed nothing but the app_server source,

app_server <- function( input, output, session ) {
  # Your application server logic 
  stop("")
}

The recommended test of expect_running passes in these conditions. Now this is either expected behaviour but misleading in the sense that the background R process may well be running but the shiny app itself is definitely not, or this is no the expected behaviour of the test.

My reprex package attached in zip
golem_expect_running.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions