I'm building Debuggo not just to create tests quickly, but to create reliable tests that don't break every time the wind blows.I'm building Debuggo not just to create tests quickly, but to create reliable tests that don't break every time the wind blows.

AI Wrote Your Tests. Variables Keep Them Alive.

2025/12/03 15:04
4 min di lettura
Per feedback o dubbi su questo contenuto, contattateci all'indirizzo crypto.news@mexc.com.

Previously I talked about how I was tired of "flaky" tests and how I'm using AI to generate test steps, saving hours of my time.

I showed how I can create a 20-step E2E test in 6 minutes, just by describing it.

But there's a problem. Even an AI can create a "brittle" test.

Imagine you ask an AI: "Log in using 'admin@test.com' and password '12345', and check for the text 'Welcome, John Doe'".

The AI will do it. And then your test will fail.

It will fail when you run it on staging, where the login is staging_admin@test.com. It will fail when 'John Doe' changes his name to 'Jane Doe'. It will fail because it is hardcoded.

This is the number one enemy of stable automation. And when I, as a solo developer, started building Debuggo, I knew I had to solve this problem first.

AI is the "Magic," but Variables are the "Engineering"

The AI in Debuggo is great at "translating" English into steps. But real test stability isn't just about the steps; it's about the data those steps use.

From the very beginning, I designed Debuggo to work with two types of variables. This is the logic I wrote myself, on top of the AI core.

\ 1. Environment VariablesThe Problem: You have different URLs, logins, or API_KEYs for your dev, staging, and production environments.

The Solution: In Debuggo, you don't hardcode these values. You store them in your environment settings. Like this:

  • %BASE_URL% = https://my-staging-site.com
  • %ADMIN_LOGIN% = staging_admin@test.com
  • %ADMIN_PASSWORD% = superS3cret!

Now, here's the best part. I don't need to tell the AI: "Navigate to %BASEURL%, then fill 'email' with %ADMINLOGIN%…"

I just write in plain English:

"login to the website"

And that's it.

The AI is smart enough to understand that "login" requires the %BASE_URL%, %ADMIN_LOGIN%, and %ADMIN_PASSWORD% variables. It will find the right elements on the page (even if the layout changes), plug in the values from your environment, and perform the login.

The Result: The exact same test. Zero changes to the text. I can run it on any environment just by switching the env in Debuggo. That's the foundation.

\ 2. Temporary ("In-Test") VariablesThis is my favorite part.

The Problem: How do you test a flow where data is generated during the test? The classic example: "Create a user" -> "Verify the user exists" -> "Delete that specific user."

You don't know the ID or email of this user before the test. You can't hardcode it.

The Solution: I gave the AI the ability to "remember" data from the page and use it in later steps.

Imagine a test case like this:

  1. "Navigate to '/users' and click 'Create New User'"
  2. "Fill 'email' with 'test.user.123@example.com' and click 'Save'"
  3. "Find the new User ID from the table and save it as %new_user_id%"
  4. "Navigate to /users/delete/%newuserid%"
  5. "Click 'Confirm Delete'"
  6. "Verify that the user with ID %new_user_id% is no longer in the table"

Step #3 and #6 are what make this a true E2E test. The AI isn't just doing actions; it's extracting dynamic data (%new_user_id%) and using it for test cleanup (Teardown).

What's the takeaway?

For me, this is the difference between a "toy recorder" and a professional QA tool.

A simple recorder logs: click("#btn-123"). That's brittle.

Debuggo (with AI) understands: click "Submit". That's better.

Debuggo (with AI + Variables) understands: "login to the website"… then… "save the new ID as %user_id%"… and then… "delete %user_id%".

That is a robust, maintainable automated test.

I'm building Debuggo not just to create tests quickly, but to create reliable tests that don't break every time the wind blows.

This approach is my biggest bet. And I'm very curious to see if it solves your "flaky" test pain just like it solves mine.

Try my approach. I'm actively looking for beta testers who understand this "hardcoded data" problem.

Opportunità di mercato
Logo null
Valore null (null)
--
----
USD
Grafico dei prezzi in tempo reale di null (null)
Disclaimer: gli articoli ripubblicati su questo sito provengono da piattaforme pubbliche e sono forniti esclusivamente a scopo informativo. Non riflettono necessariamente le opinioni di MEXC. Tutti i diritti rimangono agli autori originali. Se ritieni che un contenuto violi i diritti di terze parti, contatta crypto.news@mexc.com per la rimozione. MEXC non fornisce alcuna garanzia in merito all'accuratezza, completezza o tempestività del contenuto e non è responsabile per eventuali azioni intraprese sulla base delle informazioni fornite. Il contenuto non costituisce consulenza finanziaria, legale o professionale di altro tipo, né deve essere considerato una raccomandazione o un'approvazione da parte di MEXC.

Potrebbe anche piacerti

Bitcoin ETFs Outpace Ethereum With $2.9B Weekly Surge

Bitcoin ETFs Outpace Ethereum With $2.9B Weekly Surge

The surge follows a difficult August, when investors pulled out more than $750 million while rotating capital into Ethereum-focused funds. […] The post Bitcoin ETFs Outpace Ethereum With $2.9B Weekly Surge appeared first on Coindoo.
Condividi
Coindoo2025/09/18 01:15
Michael Saylor Pushes Digital Capital Narrative At Bitcoin Treasuries Unconference

Michael Saylor Pushes Digital Capital Narrative At Bitcoin Treasuries Unconference

The post Michael Saylor Pushes Digital Capital Narrative At Bitcoin Treasuries Unconference appeared on BitcoinEthereumNews.com. The suitcoiners are in town.  From a low-key, circular podium in the middle of a lavish New York City event hall, Strategy executive chairman Michael Saylor took the mic and opened the Bitcoin Treasuries Unconference event. He joked awkwardly about the orange ties, dresses, caps and other merch to the (mostly male) audience of who’s-who in the bitcoin treasury company world.  Once he got onto the regular beat, it was much of the same: calm and relaxed, speaking freely and with confidence, his keynote was heavy on the metaphors and larger historical stories. Treasury companies are like Rockefeller’s Standard Oil in its early years, Michael Saylor said: We’ve just discovered crude oil and now we’re making sense of the myriad ways in which we can use it — the automobile revolution and jet fuel is still well ahead of us.  Established, trillion-dollar companies not using AI because of “security concerns” make them slow and stupid — just like companies and individuals rejecting digital assets now make them poor and weak.  “I’d like to think that we understood our business five years ago; we didn’t.”  We went from a defensive investment into bitcoin, Saylor said, to opportunistic, to strategic, and finally transformational; “only then did we realize that we were different.” Michael Saylor: You Come Into My Financial History House?! Jokes aside, Michael Saylor is very welcome to the warm waters of our financial past. He acquitted himself honorably by invoking the British Consol — though mispronouncing it, and misdating it to the 1780s; Pelham’s consolidation of debts happened in the 1750s and perpetual government debt existed well before then — and comparing it to the gold standard and the future of bitcoin. He’s right that Strategy’s STRC product in many ways imitates the consols; irredeemable, perpetual debt, issued at par, with…
Condividi
BitcoinEthereumNews2025/09/18 02:12
XRP Price Prediction: CLARITY Act Nears April as Pepeto Presale Offers Bigger Upside

XRP Price Prediction: CLARITY Act Nears April as Pepeto Presale Offers Bigger Upside

With countless tokens to choose from in a $2.5 trillion market, the xrp price prediction stands out. This is because XRP has the cleanest regulatory path in its
Condividi
Techbullion2026/03/26 07:36