lsms-worldbank / adodown

Tools for building Stata package documentation websites
https://lsms-worldbank.github.io/adodown/
5 stars 0 forks source link

Have `ad_command` create a test file #11

Open arthur-shaw opened 7 months ago

arthur-shaw commented 7 months ago

Currently, ad_command creates for the user-specified command:

In addition, create a test do file in src/tests

This would be a nice way to nudge towards best practices.

kbjarkefur commented 7 months ago

Agreed, the way I would like to set the test files up do require rootenv/reprun setup. So I am kind of waiting for that instead of figuring out how a to configure a default

if "`c(username)'" == "wb462869" {
    global clone "C:/Users/wb462869/github/labeller"
}
kbjarkefur commented 7 months ago

Implemented in 93dcc50e311cbd60239dd3e081471daed763e7cb. Will close when published.