tests/testthat/test_hello.R

context( "Testing functions in file hello.R" )

describe( "hello()", {
    describe( "Smoke Tests", {
        it( "Runs without error for simplest inputs and defaults.", {
            # expect_silent( hello() )
            expect_output( hello(), "Hello, world!" )
        })
    })
})
jefferys/SrjNurseryR documentation built on May 24, 2019, 9:51 a.m.