DEV Community

Christian Heilmann
Christian Heilmann

Posted on

3

GitHub CoPilot now also generates tests for functions

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

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay