tests/testthat/test.R

context("testthatlabs")

test_that("testthatlabs works", {
  for (i in 1:10) expect_true(TRUE)
})

test_that("lorem ipsum", {
  for (i in 1:10) expect_true(TRUE)
  expect_true(FALSE)
  for (i in 1:5) expect_true(TRUE)
})

test_that("voluptate adipisicing", {
  for (i in 1:10) expect_true(TRUE)
  skip("not this time")
})

test_that("eiusmod mollit ad id", {
  warning("beware!")
  expect_true(TRUE)
})
gaborcsardi/testthatlabs documentation built on Nov. 20, 2024, 10:21 p.m.