Show HN: Finalrun – Spec-driven testing using English and vision for mobile apps (github.com)

by ashish004 15 comments 28 points
Read article View on HN

15 comments

[−] cadamsdotcom 26d ago
Sorry to ask a dumb question, but, why not move the tests into the repo?

Monorepos have many benefits chiefly being able to commit atomically reduces incidental complexity from drift.

It’s good enough for Google and Facebook!

[−] ashish004 18d ago
True. Thats exactly what we have done. Once finalrun is installed, it ships all the skills to generate and run the test from the same repo.
[−] avikaa 38d ago
This solves a massive headache. The drift between externally generated tests and an active codebase is a brutal problem to maintain.

Using vision-based execution instead of brittle XPaths is a great baseline, but moving the test definitions to live directly alongside the repo context is definitely the real win here.

Did you find that generating the YAML from the codebase context entirely eliminated the "stale test" issue, or do developers still need to manually tweak the generated YAML when mobile UI layouts change drastically? Great project!

[−] ashish004 38d ago
Hi Avikaa, finalrun provides skills that you can integrate with any IDE of your choice. You can just ask the finalrun-generate-test skill to update all the test for your new feature.
[−] gavinray 38d ago

  > The shift for me was realizing test generation shouldn’t be a one-off step. Tests need to live alongside the codebase so they stay in sync and have more context.
Does the actual test code generated by the agent get persisted to project?

If not, you have kicked the proverbial can down the road.

[−] ashish004 38d ago
Yes gavinray, It gets persisted to the project. Its lives alongside the codebase. So that any test generated has the best context of what is being shipped. which makes the AI models use the best context to test any feature more accurately and consistently.
[−] usual_engineer 37d ago
Verification of AI generated code right would be dope.

We do something similar in our company for web with playwright but facing a lot of flaky tests.

Will check this out

[−] ashish004 37d ago
Hey, thats true, verification of ai generated code needs proof with video of each action, console logs and network logs. Would love to know how you are solving for web. would be a great learning for me too.
[−] ashish004 38d ago
Just updated README.md, it's lot simpler and addresses on the core. Thanks for the feedback, please checkout
[−] arnold_laishram 38d ago
Looks pretty cool. How does your agent understand plain english?
[−] ashish004 38d ago
We have built a QA agent that can understand your plain english intent and uses vision to reason and navigate the app to test your intent. You can check our benchmark here https://finalrun.app/benchmark/ and how we architected our agent for the benchmark https://github.com/final-run/finalrun-android-world-benchmar.... Its all open source
[−] sahilahuja 38d ago
Agentic testing. Kudos to your decision to open-source it!
[−] ashish004 38d ago
[dead]
[−] Mousumi-Dhar 33d ago
Love the simplicity of it.
[−] srinidhigs829 38d ago
I just ran my first test. Thanks team :)
[−] ashish004 38d ago
Do share us feedback.
[−] clyp 37d ago
[dead]
[−] rootally7 38d ago
[dead]
[−] arbaaz 38d ago
[dead]
[−] l2s0 36d ago
[dead]