tests/testthat/test_workflow.R

context("Testing workflow")

source(system.file("testdata/workflow_animals/setup.R", package = "certigo"))

expect_rerun_somewhere(animal_workflow$run())
animal_workflow$reset()
expect_cached_somewhere(animal_workflow$run())

expect_is(animal_workflow$plot(), "ggplot")
komparo/certigo documentation built on May 22, 2019, 5:30 p.m.