tests_run: Run animint tests

Description Usage Arguments Examples

View source: R/testHelpers.R

Description

Convenience function for running animint tests.

Usage

1

Arguments

dir

character string with the path to animint's source code. Defaults to current directory

filter

If not NULL, only tests with file names matching this regular expression will be executed. Matching will take on the file name after it has been stripped of "test-" and ".r".

Examples

1
2
3
4
5
6
7
8
## Not run: 
# run tests in test-rotate.R with Firefox
tests_init("firefox")
tests_run(filter = "rotate")
# clean-up
tests_exit()

## End(Not run)

tdhock/animint documentation built on July 27, 2019, 5:57 a.m.