Slack Combines ASTs with Large Language Models to Automatically Convert 80% of 15,000 Unit Tests

A flowchart depicting how Slack automatically converts unit-tests with a combination of ASTs and LLMs

Slack’s engineering team recently published how it used a large language model (LLM) to automatically convert 15,000 unit and integration tests from Enzyme to React Testing Library (RTL). By combining Abstract Syntax Tree (AST) transformations and AI-powered automation, Slack’s innovative approach resulted in an 80% conversion success rate, significantly reducing the manual effort required and showcasing the potential of AI in streamlining complex development tasks.

Read more on InfoQ