use_module_test: Add a test file for a module

View source: R/modules_fn.R

use_module_testR Documentation

Add a test file for a module

Description

Add a test file for in module, with the new testServer structure.

Usage

use_module_test(name, pkg = get_golem_wd(), open = TRUE)

Arguments

name

The name of the module.

pkg

Path to the root of the package. Default is get_golem_wd().

open

Should the created file be opened?

Value

Used for side effect. Returns the path invisibly.


golem documentation built on Sept. 11, 2024, 7:54 p.m.