zcaudate / foundation-base

core libs
Eclipse Public License 2.0
24 stars 3 forks source link

code management video #3

Open zcaudate opened 1 year ago

zcaudate commented 1 year ago

https://www.youtube.com/watch?v=dO7eyFtDDOY

the namespaces in the video correspond to:

hara.publish -> code.doc hara.deploy -> code.maven hara.code -> code.manage hara.test -> code.test

zcaudate commented 1 year ago

helper functions to call in namespace for emacs: https://github.com/zcaudate/etude/blob/master/etude/lib/etude-foundation.el

things that may need to be installed to work for tests https://github.com/zcaudate/infra-testing/blob/main/infra/Dockerfile_foundation

zcaudate commented 1 year ago

just so you know with the video... half of the demos didn't work because I wasn't prepared properly and forgot the function invocations. However the code structure is there and there are some invocations you can try here:

https://github.com/zcaudate/foundation-base/blob/main/project.clj#L6-L11

zcaudate commented 1 year ago

some invocations:

(./create-tests :all) or (./create-tests '[]) will create test scaffolding (./incomplete :all) or (./incomplete '[]) will list all namespaces with incomplete tests

that's the ones I used more. There's also ./pedantic, which will output if test does not have a check associated.

(./import) will import docstrings from tests back into the namespace (./purge) will remove docstrings in the namespace.