#!/usr/bin/env Rscript
################################################################################
# Test Suite
################################################################################
################################################################################
# External dependencies
################################################################################
library(logging)
library(RUnit)
################################################################################
# Random Seed
################################################################################
set.seed(1994) # a good year for Brazil
################################################################################
# Logging configuration
################################################################################
basicConfig()
################################################################################
# Suite Definition and Execution
################################################################################
testsuite <- defineTestSuite("testsuite",
dirs="test/",
testFileRegexp="^.+_test.R$")
res <- runTestSuite(testsuite)
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.