Home / Companies / Tinybird / Blog / Post Details
Content Deep Dive

Writing tests sucks. Use LLMs so it sucks less.

Blog post from Tinybird

Post Details
Company
Date Published
Author
Javi Santana
Word Count
1,069
Language
English
Hacker News Points
-
Summary

Tinybird Forward introduces a new user experience for handling big data requirements in software development, addressing the lack of robust testing frameworks in data engineering by providing tools for generating test data and validating data transformations. The platform simplifies the process of creating realistic test data with the "tb mock" command, which uses an LLM to analyze SQL queries and data schemas to generate synthetic data. It allows users to prompt LLMs for more complex scenarios, storing these prompts for reuse. The "tb test" command offers a framework for testing SQL logic, generating YAML files for tests and updating expected results when logic or data changes. By integrating with CI workflows, Tinybird Forward aims to foster a testing culture in data engineering, making it easier to implement basic tests without significant time investment.