AI Test Generation

Discussions center on using AI and LLMs to automatically generate unit tests, propose relevant test suites for CI pipelines, and enhance software testing processes, with requests for examples and tool suggestions.

➡️ Stable 0.6x AI & Machine Learning
4,840
Comments
20
Years Active
5
Top Authors
#4317
Topic ID

Activity Over Time

2007
3
2008
21
2009
42
2010
92
2011
122
2012
139
2013
226
2014
220
2015
264
2016
240
2017
272
2018
247
2019
235
2020
336
2021
388
2022
437
2023
519
2024
456
2025
534
2026
47

Keywords

e.g AI TDD LLM CI readthedocs.io API OI TS tests test test suite testing suite run hooks running comparisons propose

Sample Comments

itamarcode Aug 15, 2023 View on HN

it is impressive that tests are being generated as part of the process, well done! can you explain how does it work and when it won't work?

danielvaughn Sep 30, 2022 View on HN

I just want AI that will write a unit test for me.

asimuvPR Jul 17, 2016 View on HN

Do you mind providing an example of possible tests that may be run?

josephg Oct 24, 2024 View on HN

True - but you can ask the chatbot to write a test suite too.

krschultz Nov 28, 2011 View on HN

You are right, testing is magical

cvermeul Feb 4, 2015 View on HN

the best test framework I've ever seen

kubanczyk Dec 22, 2025 View on HN

An LLM tool that can sit on a CI pipeline to propose what tests should be blocking.Instead of brute-force method of selecting the appropriate test suites by path or similar, have LLM analyze changes and propose the set of test suites that is relevant to the change.If there are new complex tests added to the change, estimates how many times to run them to ensure they are not flaky to begin with (hundreds? or thousands?).

josscrowcroft May 30, 2012 View on HN

Any more tool suggestions that implement more complex forms of testing?

gsky Jun 30, 2025 View on HN

Test failures for the greater good

NKCSS Apr 24, 2017 View on HN

Publish your test set and I can look at it :)