Testing shiny applications whether inputs and outputs are working properly as expected

Hi all,

Can anyone help me and let me know if there is a way to check the shiny applications. For example for the below ui.R and server.R, can we check whether all inputs (selectInput, textoutput, textinput) and outputs are working well or not?



# Define UI for application that draws a histogram
  textInput("name", "Name: "),
  selectInput("Slider","Slider",choices = unique(iris$Species))



shinyServer(function(input, output) {
  output$greeting <- renderText({
    paste0("Hello, ", input$name, "!")

What do you mean by working as expected? With the above code, if you input in textInput, I think you should be able to see the paste0("Hello, ", input$name, "!") output. I run the code. Output is below.

I mean for any applications :slight_smile: Like whether action button is working or not? Are the data displayed when any filter is selected under selectInput. Just a basis check

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.