expect_reactivity: Expectation: is the counter equal to a value?

Description Usage Arguments Value See Also Examples

View source: R/expect.R

Description

Compares the maximum counter value of a tag in a whereami counter object with a value

Usage

1
expect_reactivity(object, tag, count)

Arguments

object

a reactor class object or the path to whereami.json

tag

character, tag name of the element in the counter object to query

count

numeric, expected value

Value

invisible result

See Also

Other testing: expect_busy_time(), test_app()

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
}

## End(Not run)

yonicd/reactor documentation built on Jan. 20, 2021, 4:40 a.m.