golem
golem copied to clipboard
Encapsulate `testServer()` in `test_that()` for module unit tests
Add test_that("mod works", {}) around here, so that tests are recognized as is by {testthat}
https://github.com/ThinkR-open/golem/blob/b62587cd5c14a714098e68b4945dd72877f2670d/R/modules_fn.R#L275
As far as I can tell, this is not required:
- 5 tests in the test file, 5 in the
{testthat}output - 100% code coverage

This might have some corner cases for when you need the tests to be inside a context.
I'm putting this on hold for now until further exploration can be done