---
title: "Copilot Chat writes Unit Tests for you!"
url: https://daily.dev/posts/copilot-chat-writes-unit-tests-for-you--r3pfaeeco
source_url: https://dev.to/this-is-learning/copilot-chat-writes-unit-tests-for-you-1c82
type: article
source: "This is Learning"
author: "Leonardo Montini 😼"
published: 2023-05-18T07:02:58.973Z
updated: 2023-05-18T07:02:58.817Z
tags: ["tools", "ai", "testing", "github"]
reading_time: 3
upvotes: 19
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Copilot Chat writes Unit Tests for you!

**[This is Learning](https://daily.dev/sources/til)** · [@balastrong](https://daily.dev/balastrong) · 3 min read · 19 upvotes · 0 comments

## Summary

Copilot Chat writes Unit Tests for you! The tool is one of the coolest features in the Copilot X suite. Copilot doesn't write tests because we don't have time to test your code. It will generate tests for the code you selected, but it doesn't know what you're trying to test.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/this-is-learning/copilot-chat-writes-unit-tests-for-you-1c82>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#tools](https://daily.dev/tags/tools), [#ai](https://daily.dev/tags/ai), [#testing](https://daily.dev/tags/testing), [#github](https://daily.dev/tags/github)

[View this post on daily.dev](https://daily.dev/posts/copilot-chat-writes-unit-tests-for-you--r3pfaeeco)
