context {testthat}R Documentation

Describe the context of a set of tests.

Description

A context defines a set of tests that test related functionality. Usually you will have one context per file, but you may have multiple contexts in a single file if you so choose.

Usage

  context(desc)

Arguments

desc

description of context. Should start with a capital letter.

Examples

context("String processing")
context("Remote procedure calls")

[Package testthat version 0.6 Index]