# Meta's TestGen-LLM uses verified LLM-generated improvements to expand existing unit-test coverage

DevFeed: [Meta's TestGen-LLM uses verified LLM-generated improvements to expand existing unit-test coverage](<https://devfeed.tech/articles/meta-s-new-llm-based-test-generator-is-a-sneak-peek-to-the-future-of-development-39094.md>)

Original publisher: [Read original article](<https://read.engineerscodex.com/p/metas-new-llm-based-test-generator>)

Author: Engineer's Codex

Published: 2024-02-23T07:34:54Z

Content type: article

Language: en

Sources: [Engineer's Codex](<https://devfeed.tech/sources/engineer-s-codex.md>)

Topics: [Meta](<https://devfeed.tech/topics/meta.md>), [unit test](<https://devfeed.tech/topics/unit-test.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [pull-requests](<https://devfeed.tech/topics/pull-requests.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [llm](<https://devfeed.tech/tags/llm.md>), [meta](<https://devfeed.tech/tags/meta.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

This article examines Meta's TestGen-LLM, an internal system that uses large language models to generate candidate improvements for existing human-written unit tests. It describes an ensemble approach that filters candidates for correctness, improved code coverage, and non-regression before human review.

## Source excerpt

Meta's TestGen-LLM is a sneak peek to the future of developer productivity: specialized, orchestrated, and rigorously filtered.