runittotestthat: Convert 'RUnit' Test Functions into 'testthat' Tests

Automatically convert a file or package worth of 'RUnit' test functions into 'testthat' tests.

Author
Richard Cotton [aut, cre]
Date of publication
2015-06-24 15:45:01
Maintainer
Richard Cotton <richierocks@gmail.com>
License
Unlimited
Version
0.0-2

View on CRAN

Man pages

convert_brace
Convert a code block.
convert_checkEquals
Convert a checkEquals call.
convert_checkEqualsNumeric
Convert a checkEqualsNumeric call.
convert_checkException
Convert a checkException call.
convert_checkIdentical
Convert a checkIdentical call.
convert_checkTrue
Convert a checkTrue call.
convert_for
Convert a for block.
convert_if
Convert an if block.
convert_line
Convert lines of RUnit code to testthat code
convert_lines
Convert lines of RUnit code to testthat code
convert_package_tests
Convert a package worth of RUnit tests to testthat tests
convert_repeat
Convert a repeat block.
convert_switch
Convert a switch block.
convert_test
Convert an RUnit test to a testthat test
convert_test_file
Convert a file worth of RUnit tests to testthat tests
convert_while
Convert a while block.
get_filename
Get a quoted filename
runittotestthat
Convert RUnit tests to testthat tests.

Files in this package

runittotestthat
runittotestthat/tests
runittotestthat/tests/testthat.R
runittotestthat/tests/testthat
runittotestthat/tests/testthat/test-convert_test.R
runittotestthat/NAMESPACE
runittotestthat/NEWS
runittotestthat/R
runittotestthat/R/convert.R
runittotestthat/R/runittotestthat-package.R
runittotestthat/R/internal.R
runittotestthat/README.md
runittotestthat/MD5
runittotestthat/DESCRIPTION
runittotestthat/man
runittotestthat/man/get_filename.Rd
runittotestthat/man/convert_while.Rd
runittotestthat/man/convert_brace.Rd
runittotestthat/man/convert_lines.Rd
runittotestthat/man/convert_checkException.Rd
runittotestthat/man/convert_if.Rd
runittotestthat/man/convert_checkTrue.Rd
runittotestthat/man/convert_checkEqualsNumeric.Rd
runittotestthat/man/convert_line.Rd
runittotestthat/man/convert_switch.Rd
runittotestthat/man/convert_for.Rd
runittotestthat/man/convert_test.Rd
runittotestthat/man/convert_package_tests.Rd
runittotestthat/man/convert_test_file.Rd
runittotestthat/man/convert_checkIdentical.Rd
runittotestthat/man/convert_checkEquals.Rd
runittotestthat/man/runittotestthat.Rd
runittotestthat/man/convert_repeat.Rd