Package: testex 0.2.1
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.1.tar.gz
testex_0.2.1.zip(r-4.7)testex_0.2.1.zip(r-4.6)testex_0.2.1.zip(r-4.5)
testex_0.2.1.tgz(r-4.6-any)testex_0.2.1.tgz(r-4.5-any)
testex_0.2.1.tar.gz(r-4.7-any)testex_0.2.1.tar.gz(r-4.6-any)
testex_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Pkgdown/docs site:https://dgkf.github.io
documentationexamplesrlangroxygen2testing
Last updated from:b6dbca83fb. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 117 | ||
| source / vignettes | OK | 191 | ||
| linux-release-x86_64 | OK | 128 | ||
| macos-release-arm64 | OK | 135 | ||
| macos-oldrel-arm64 | OK | 197 | ||
| windows-devel | OK | 80 | ||
| windows-release | OK | 69 | ||
| windows-oldrel | OK | 69 | ||
| wasm-release | OK | 121 |
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 |
