To

Touca – a better alternative to snapshot testing

Hacker News

Touca – a better alternative to snapshot testing

Hi everyone, Almost 2 years ago, I left my full-time job at Canon to build tooling and infrastructure to help developers write high-level tests for complex software workflows that are not easy to unit test. I wanted to take ideas from visual regression testing, snapshot testing, and property-based testing and build a general-purpose regression testing system that developers can use to find the unintended side-effects of their day-to-day code changes during the development stage. After two years of working ~70 hours per week and going through multiple iterations, we finally have a fully open-source (Apache-2.0) product that finally makes me and other members of our community happy: https://github.com/trytouca/trytouca This week we released v2.0, a milestone version that is useful to small and large teams alike. This version comes with: - An easy to self-host server that stores test results for new versions of your software workflows, automatically compares them against a previous baseline version, and reports any differences in behavior or performance. - A CLI that enables snapshot testing without using snapshot files. It lets you capture the actual output of your software and remotely compare it against a previous version without having to write code or to locally store the previous output. - 4 SDKs in Python, C++, Java, JavaScript that let you write high-level tests to capture values of variables and runtime of functions for different test cases and submit them to the Touca server. - Test runner and GitHub action plugins that help you continuously run your tests as part of the CI and find breaking changes before merging PRs. I would really appreciate your honest feedback, positive or negative, about Touca. Would love to learn if you find this useful and look forward to hearing your thoughts and answering any questions.

Share card

Actual performance

63points
15comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, visual, using · Missing: mac, agents, macos
94%94% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
93%93% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
61%61% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
38%38% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
23%23% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ab
About.me better Alternative?62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

About.me better Alternative?

Hacker News1
Be
Better API Testing with Portman48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Better API Testing with Portman

Hacker News1
Ad
AddAI – A better alternative to A/B testing (Startup School project)52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AddAI – A better alternative to A/B testing (Startup School project)

Hacker News7
St
Stop a/b testing – here’s something better49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Stop a/b testing – here’s something better

Hacker News4
Te
Testy, a better Golang testing library39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Testy, a better Golang testing library

Hacker News2
A
A Better? Alternative to Wordpress48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Better? Alternative to Wordpress

Hacker News2
Fu
Fuzzpy, a fuzzer for testing CPython33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fuzzpy, a fuzzer for testing CPython

Hacker News6
Ch
ChefSpec – RSpec testing for Chef Cookbooks33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ChefSpec – RSpec testing for Chef Cookbooks

Hacker News3
A/
A/B testing baked into RequireJS33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A/B testing baked into RequireJS

Hacker News1
A/
A/B testing in Golang with PlanOut30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A/B testing in Golang with PlanOut

Hacker News8