Run unit tests with testthat without package

Viewed 2387

I have a shiny application which uses like 4 functions. I would like to test these functions but it's not a package. How am i supposed to structure my code ? and execute these tests without devtools ?

2 Answers
Related