Why Test Automation, and Why It Changes with AI
Why This Matters
Software changes every day. Every change can break something that worked yesterday, and nobody has time to click through the whole application after every change. Automated tests do that checking for you, in minutes, every time. That is still true. What has changed is who writes the tests: more and more often, an AI assistant does.
What test automation gives a team
- Fast feedback. A developer knows within minutes whether a change broke something, instead of days later.
- Confidence to change. Teams that trust their tests refactor, upgrade and release more often.
- Free time for real testing. Repetitive checks run automatically, so people can explore, question and find the bugs nobody thought of.
Automated tests do not replace thinking. They replace repeating the same check by hand.
From building to judging
Ask an AI assistant to “write tests for this function” and you get tests in seconds. They look professional. They usually pass. And that is exactly the problem: a test that passes proves nothing until you know it would fail when the code is wrong.
| Before AI | With AI |
|---|---|
| Hardest part: writing the test code | Hardest part: knowing if the test is any good |
| Beginners spent weeks on syntax | Beginners need to read code, not type it |
| Few tests, written slowly | Many tests, written fast, some of them useless |
| “Did I write it right?” | “Does this test protect us, and what does it miss?” |
That is why this course focuses on three skills that AI cannot do for you:
- Deciding what to test. Which behaviour matters, which cases are risky, what counts as correct.
- Reading what was written. Enough code literacy to understand a test, with AI as your explainer.
- Proving a test works. Breaking the code on purpose and checking that the test fails.
Do you still need to learn to program?
You do not need to become a programmer. You do need to read code, in the way an editor needs to read the language of the article they review. A tester who cannot read a test has to take the AI’s word for it, and the AI is not the one who is accountable when a bug reaches customers. In this course you will read a lot of TypeScript and write very little of it yourself.
The practice app: TestRun Board
All exercises use TestRun Board, a small open-source web app that lists the test runs of a CI pipeline. It already contains tests you can read, run and break. In lesson 3, Your Toolbox: Git, an Editor, a Terminal and an AI Assistant you install it.
Exercise
- Think of a piece of software you use daily. Write down three things that would be annoying or costly if they broke after an update.
- For each one, write how you would notice today, and how long it would take.
- Ask an AI assistant: “What is a false-green test? Give one example.” Keep the answer; you will meet false greens again in module 4, Judging and running tests.
Key Takeaways
- Automated tests give fast feedback and the confidence to change software.
- With AI, writing tests is cheap; judging them is the new core skill.
- A passing test proves nothing until you have seen it fail for the right reason.
- You need to read code, not necessarily write it.