datacamp / testwhat

Write Submission Correctness Tests for R exercises
https://datacamp.github.io/testwhat
GNU Affero General Public License v3.0
33 stars 25 forks source link

Fs/move testwhat base #147

Closed filipsch closed 6 years ago

filipsch commented 6 years ago

As described in https://github.com/datacamp/testwhat/issues/128. Base functionality is now at https://github.com/datacamp/testwhat.base.

filipsch commented 6 years ago

@richierocks this is ready now.

Closes #146 Closes #128 (as I explained to prefer to keep it in the same package, for now).

If this is merged, SCT writers will be able to run the SCT as follows in the command line

library(testwhat)
setup_state(sol_code = "a <- 4", stu_code = "a <- 3")
ex() %>% check_object("a") %>% check_equal()

Feel free to have a look. If no response by tomorrow, I'll take the liberty to merge it in :)