Closed
Description
Currently, the smallest unit of tests that can be run with this package is a file, with testthat::test_file()
. However, for our use case each testing file (we've already split up into about 10 of them) takes 5-10 minutes to run, so the dev loop for tests at the end of a file is painfully slow. Therefore I propose something like testthat::test_single(file, test_name)
to run a single named test within a file, skipping over all tests whose names do not match test_name.