Christian Heilmann

Automatically generating tests for JS/TS functions in VS Code with GitHub Copilot

Wednesday, March 1st, 2023 at 12:28 am

Want to automatically generate tests for your JS/TS functions? GitHub CoPilot now does that.
GitHubNext added a TestPilot experiment that can generate tests for a function by analysing it and scanning the docs and comments.

Animation showing how to create a test for a function by highlighting it

Share on Mastodon (needs instance)

Share on Twitter

My other work: