brucemcpherson / desktopliberation

hosting for desktop liberation google plus community
30 stars 1 forks source link

Simple but powerful Apps Script Unit Test library #129

Open brucemcpherson opened 2 years ago

brucemcpherson commented 2 years ago

Why unit testing? There are many test packages for Node (my favorite is ava) and there are also a few for Apps Script but I couldn’t find one that was exactly what I was after, so I’ve released the one I use as a library. Unit testing your code as you go along will make it easier to find errors right away, check results are as expected, and keeping a running repertoire of tests ensures that you don’t break anything when you make changes.

https://ramblings.mcpher.com/gassnippets2/simple-unit-test-library/