This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: LIdmnbZDQk21ECsSnXm-7uxJU8CHfnI22_qDFq_nzIk
Cover

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

Written by @kiwicopple | Published on 2020/3/1

TL;DR
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.

[story continues]


Written by
@kiwicopple
Technical Writer on HackerNoon.

Topics and
tags
javascript|testing|unit-testing|documentation|nodejs|unit-test-for-code|comments-in-programming|intro-to-jsdoc
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: LIdmnbZDQk21ECsSnXm-7uxJU8CHfnI22_qDFq_nzIk