pietroppeter / nimib

nimib 🐳 - nim 👑 driven ⛵ publishing ✍
https://pietroppeter.github.io/nimib/
MIT License
181 stars 10 forks source link

add testing (mostly ptest) #7

Closed pietroppeter closed 3 years ago

pietroppeter commented 3 years ago

since nimib is mostly example-driven (initial commits was essentially driven by hello_nimib example) it makes sense that testing is also example based. I have given a look at ptest and I think I could adapt it to my needs (possibly not directly using the exact script there).

Also other testing for core modules (e.g. capture) should be added.

pietroppeter commented 3 years ago

ptest added in 06021eda6e0c38ad791f220d398956aee19002ef

pietroppeter commented 3 years ago

after release of 0.1 I plan to add CI and at least the unit test for captureStdout

pietroppeter commented 3 years ago

Remember to escape output of ptest (unreadable in case of failure)