🧀 BigCheese.ai


AI-Powered Conversion From Enzyme to React Testing Library


Sergii Gorbachov, Senior Software Engineer at Slack, details the Enzyme-to-RTL (React Testing Library) conversion process necessitated by the lack of Enzyme support for React 18. Through implementing AST (Abstract Syntax Tree) transformations and collaborating with AI via Large Language Models, Slack aims to efficiently convert over 15,000 frontend tests, leveraging a hybrid approach for an anticipated 80% automation success rate.

  • Enzyme lacks native support for React 18.
  • Slack to convert 15,000+ tests to RTL.
  • AST transformations used initially.
  • AI-powered conversion explored.
  • 80% success with combined approach.