Show HN: Touca – a better alternative to snapshot testing https://ift.tt/epFX7wv
Show HN: 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://ift.tt/sJ36F4q 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. https://ift.tt/sJ36F4q February 27, 2023 at 06:29PM
No comments