Convert 'RUnit' Test Functions into 'testthat' Tests


[Up] [Top]

Documentation for package ‘runittotestthat’ version 0.0-2

Help Pages

runittotestthat-package Convert RUnit tests to testthat tests.
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_package_tests.character Convert a package worth of RUnit tests to testthat tests
convert_package_tests.package 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.