testwhat
testwhat copied to clipboard
Human readable SCTs
@filipsch As discussed, here is a rough example of how we can make SCTs more human readable. It is inspired by BDD/TDD frameworks where I believe it is common to write tests that read like an english sentence.
check_exercise() %>%
uses_function(“lm”) %>%
specifies_arg(“x”) %>%
correctly()
cc @ncarchedi @martijnsublime