These allow you to manually trigger success or failure. Failure is
particularly useful to a pre-condition or mark a test as not yet
fail(message = "Failure has been forced")
succeed(message = "Success has been forced")
a string to display.
## Not run:
test_that("this test fails", fail())
test_that("this test succeeds", succeed())
## End(Not run)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.