tests/e2e/app-files/test-say_hello.R

box::use(testthat[describe, expect_identical, it], )

box::use(app/logic/say_hello[say_hello], )

describe("say_hello()", {
  it("should say hello with the correct name", {
    expect_identical(say_hello("Rhino"), "Hello, Rhino!")
  })
})
Appsilon/rhino documentation built on Sept. 27, 2024, 7:01 p.m.