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:
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.5-any)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')) |
Bug tracker:https://github.com/s-fleck/testthis/issues
Pkgdown site:https://s-fleck.github.io
rstudiorstudio-addinrstudio-addinstestingtestthat
Last updated 3 years agofrom:587e50afb1. Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 01 2025 |
R-4.5-win | OK | Feb 01 2025 |
R-4.5-mac | OK | Feb 01 2025 |
R-4.5-linux | OK | Feb 01 2025 |
R-4.4-win | OK | Feb 01 2025 |
R-4.4-mac | OK | Feb 01 2025 |
R-4.3-win | OK | Feb 01 2025 |
R-4.3-mac | OK | Feb 01 2025 |
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:askpassassertthatbase64encbrewbriobslibcachemcallrclicliprcommonmarkcpp11crayoncredentialscurldescdevtoolsdiffobjdigestdownlitellipsisevaluatefansifastmapfontawesomefsgertghgitcredsgluehighrhtmltoolshtmlwidgetshttpuvhttr2inijquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeminiUIopensslpillarpkgbuildpkgconfigpkgdownpkgloadpraiseprettyunitsprocessxprofvispromisespspurrrR6raggrappdirsrcmdcheckRcppremotesrlangrmarkdownroxygen2rprojrootrstudioapirversionssasssessioninfoshinysourcetoolsstringistringrsyssystemfontstestthattextshapingtibbletinytexurlcheckerusethisutf8vctrswaldowhiskerwithrxfunxml2xopenxtableyamlzip
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get Test Coverage | get_test_coverage |
Open associated test file | open_testfile |
Test coverage of package | test_coverage |
Generate an index of all test_that calls | print.test_index test_index |
Create a test skeleton file for the currently open .R file | test_skeleton |
Run tests in subdirectories | test_acceptance test_all test_integration test_manual test_subdir |
Test this file | test_this |
Testthis-package | testthis-package testthis |
Use test subdirectories | use_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 function | use_tester |