Package: testex 0.2.0.9000
testex: Add Tests to Examples
Add tests in-line in examples. Provides standalone functions for facilitating easier test writing in Rd files. However, a more familiar interface is provided using 'roxygen2' tags. Tools are also provided for facilitating package configuration and use with 'testthat'.
Authors:
testex_0.2.0.9000.tar.gz
testex_0.2.0.9000.zip(r-4.5)testex_0.2.0.9000.zip(r-4.4)testex_0.2.0.9000.zip(r-4.3)
testex_0.2.0.9000.tgz(r-4.4-any)testex_0.2.0.9000.tgz(r-4.3-any)
testex_0.2.0.9000.tar.gz(r-4.5-noble)testex_0.2.0.9000.tar.gz(r-4.4-noble)
testex_0.2.0.9000.tgz(r-4.4-emscripten)testex_0.2.0.9000.tgz(r-4.3-emscripten)
testex.pdf |testex.html✨
testex/json (API)
NEWS
# Install 'testex' in R: |
install.packages('testex', repos = c('https://dgkf.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dgkf/testex/issues
documentationexamplesrlangroxygen2testing
Last updated 7 months agofrom:6ab7477864. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 11 2024 |
R-4.5-win | OK | Nov 11 2024 |
R-4.5-linux | OK | Nov 11 2024 |
R-4.4-win | OK | Nov 11 2024 |
R-4.4-mac | OK | Nov 11 2024 |
R-4.3-win | OK | Nov 11 2024 |
R-4.3-mac | OK | Nov 11 2024 |
Exports:fallback_expect_no_errors3_registertest_examples_as_testthattestexuse_testexuse_testex_as_testthatuses_roxygen2with_attachedwith_srcref
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Expect no Error | fallback_expect_no_error |
Execute examples from Rd files as 'testthat' tests | test_examples_as_testthat |
A syntactic helper for writing quick and easy example tests | testex |
'testex' 'roxygen2' tags | testex-roxygen-tags |
Support for 'testthat' Expectations | testex-testthat |
Add 'testex' tags and configure package to fully use 'testex' features | use_testex |
Run examples as 'testthat' expectations | use_testex_as_testthat |
Checks for use of 'roxygen2' | uses_roxygen2 |
Temporarily attach a namespace | with_attached |
Raise 'testthat' Expectations With A Known Source Reference | with_srcref |