paint-brush
Use Comments to Unit Test Your Code [A How-To Guide]by@kiwicopple
616 reads
616 reads

Use Comments to Unit Test Your Code [A How-To Guide]

by kiwicopple2mMarch 1st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Use Comments to Unit Test Your Code [A How-To Guide] At Supabase we love writing as little code as possible. We decided to combine our unit tests with the same JSDoc comments that power VSCode's IntelliSense. Elixir has the additional benefit that you can use these comments to run your tests: @supabase/doctest-js. You can see it in action over at our postgrest-js library: The library uses a similar format to Elixir's Doctests.

Company Mentioned

Mention Thumbnail
featured image - Use Comments to Unit Test Your Code [A How-To Guide]
kiwicopple HackerNoon profile picture
kiwicopple

kiwicopple

@kiwicopple

L O A D I N G
. . . comments & more!

About Author

kiwicopple HackerNoon profile picture
kiwicopple@kiwicopple

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Coffee-web