tests/testthat/test-mod_fitting_server.R

testServer(
  mod_fitting_counts_hot_server,
  # Add here your module params
  args = list(),
  {
    ns <- session$ns
    expect_true(
      inherits(ns, "function")
    )
    expect_true(
      grepl(id, ns(""))
    )
    expect_true(
      grepl("test", ns("test"))
    )
  }
)

testServer(
  mod_fitting_results_server,
  # Add here your module params
  args = list(),
  {
    ns <- session$ns
    expect_true(
      inherits(ns, "function")
    )
    expect_true(
      grepl(id, ns(""))
    )
    expect_true(
      grepl("test", ns("test"))
    )
  }
)

Try the biodosetools package in your browser

Any scripts or data that you put into this service are public.

biodosetools documentation built on Nov. 16, 2022, 5:13 p.m.