testwhat icon indicating copy to clipboard operation
testwhat copied to clipboard

Human readable SCTs

Open ramnathv opened this issue 6 years ago • 0 comments

@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

ramnathv avatar Jun 13 '18 17:06 ramnathv