autotest
latest
  • autotest in R
    • 1. Quick Start
    • 2. Testing Functions
    • 3. Error Message APIs
    • 4. Error Cases
  • autotest in Python
autotest
  • Docs »
  • autotest in R
  • Edit on GitHub

autotest in R¶

Note

The autotest package is almost the same with the testthat package written by Hadley. The goal of this package is to make the error messages human readable, so that people can find where they were wrong easily.

  • 1. Quick Start
    • 1.1. Basic Example
    • 1.2. Automatic Tracing
    • 1.3. Self-defined Error Message
    • 1.4. Read More
  • 2. Testing Functions
    • 2.1. expect_equal
    • 2.2. expect_true & expect_false & expect_na
    • 2.3. expect_is & expect_length
    • 2.4. expect_match & expect_output & expect_error
  • 3. Error Message APIs
    • 3.1. Pre Message
    • 3.2. Post Message
    • 3.3. More about Messages Hooks
    • 3.4. Turn On/Off Automatic Tracing
    • 3.5. Turn On/Off Default Error
    • 3.6. Conclusion
  • 4. Error Cases
    • 4.1. Testing Variables
    • 4.2. Testing Functions
    • 4.3. Result Not Equal
    • 4.4. Self-Defined Error
Next Previous

© Copyright 2017, yalei. Revision 1a07df25.

Built with Sphinx using a theme provided by Read the Docs.