Package: testthis 1.1.1.9000

testthis: Utils and 'RStudio' Addins to Make Testing Even More Fun

Utility functions and 'RStudio' addins for writing, running and organizing automated tests. Integrates tightly with the packages 'testthat', 'devtools' and 'usethis'. Hotkeys can be assigned to the 'RStudio' addins for running tests in a single file or to switch between a source file and the associated test file. In addition, testthis provides function to manage and run tests in subdirectories of the test/testthat directory.

Authors:Stefan Fleck [aut, cre]

testthis_1.1.1.9000.tar.gz
testthis_1.1.1.9000.zip(r-4.5)testthis_1.1.1.9000.zip(r-4.4)testthis_1.1.1.9000.zip(r-4.3)
testthis_1.1.1.9000.tgz(r-4.4-any)testthis_1.1.1.9000.tgz(r-4.3-any)
testthis_1.1.1.9000.tar.gz(r-4.5-noble)testthis_1.1.1.9000.tar.gz(r-4.4-noble)
testthis_1.1.1.9000.tgz(r-4.4-emscripten)testthis_1.1.1.9000.tgz(r-4.3-emscripten)
testthis.pdf |testthis.html
testthis/json (API)
NEWS

# Install 'testthis' in R:
install.packages('testthis', repos = c('https://s-fleck.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/s-fleck/testthis/issues

On CRAN:

rstudiorstudio-addinrstudio-addinstestingtestthat

5.12 score 33 stars 20 scripts 392 downloads 20 exports 96 dependencies

Last updated 3 years agofrom:587e50afb1. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:find_testdataget_test_coverageopen_testfileread_testdatatest_acceptancetest_alltest_coveragetest_indextest_integrationtest_manualtest_skeletontest_subdirtest_thisuse_acceptance_testsuse_integration_testsuse_manual_testsuse_test_subdiruse_testdatause_testdata_rawuse_tester

Dependencies:askpassassertthatbase64encbrewbriobslibcachemcallrclicliprcommonmarkcpp11crayoncredentialscurldescdevtoolsdiffobjdigestdownlitellipsisevaluatefansifastmapfontawesomefsgertghgitcredsgluehighrhtmltoolshtmlwidgetshttpuvhttr2inijquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeminiUIopensslpillarpkgbuildpkgconfigpkgdownpkgloadpraiseprettyunitsprocessxprofvispromisespspurrrR6raggrappdirsrcmdcheckRcpprematch2remotesrlangrmarkdownroxygen2rprojrootrstudioapirversionssasssessioninfoshinysourcetoolsstringistringrsyssystemfontstestthattextshapingtibbletinytexurlcheckerusethisutf8vctrswaldowhiskerwithrxfunxml2xopenxtableyamlzip

Readme and manuals

Help Manual

Help pageTopics
Get Test Coverageget_test_coverage
Open associated test fileopen_testfile
Test coverage of packagetest_coverage
Generate an index of all test_that callsprint.test_index test_index
Create a test skeleton file for the currently open .R filetest_skeleton
Run tests in subdirectoriestest_acceptance test_all test_integration test_manual test_subdir
Test this filetest_this
Testthis-packagetestthis-package testthis
Use test subdirectoriesuse_acceptance_tests use_integration_tests use_manual_tests use_test_subdir
Create 'testdata' folder.find_testdata has_testdata read_testdata use_testdata use_testdata_raw
Use a tester functionuse_tester