Loki vs reg-suit
Loki
loki.js.orgreg-suit
reg-viz.github.ioSide by side
| Figure | Loki | reg-suit |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| iOS | Yes | — |
| Android | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Visual Regression Testing Software | 8.6 (#4) | 6.8 (#22) |
| Image comparison | Loki documents pixelmatch, GraphicsMagick, and looks-same as image comparison engines. | Its configuration supports difference thresholds, antialias handling, and parallel comparison processes. |
| License | The project repository identifies Loki as MIT licensed. | The repository identifies the project as MIT licensed. |
| Purpose | Loki tests Storybook projects for visual regressions by comparing screenshots with reference images. | reg-suit is a command-line tool for visual regression testing that compares current images with previous images and creates an HTML report of differences. |
| Security | The command-line reference documents a `chromeDockerWithoutSeccomp` option, which defaults to false. | The repository page links to a security policy; the opened page does not state specific certifications or compliance claims. |
Plans
In their own words
Loki
Loki is a free, MIT-licensed tool for checking Storybook projects for visual regressions. It captures story screenshots and compares them with reference images, producing visual differences for review. The workflow is to create reference screenshots, run comparisons, review the differences, and approve updated references. Loki is designed for continuous integration, where tests can fail if reference images are missing. Capture targets include Chrome in Docker or locally, Chrome in AWS Lambda, the iOS simulator, and the Android emulator; an AWS Lambda renderer is available for large test suites. Node 16 or later is required. Recent Storybook versions need no extra integration for non-React Native projects, while React Native setup uses an import in `storybook/storybook.js`. Projects can configure Loki in a `package.json` section or supported Loki configuration files. Loki does not start Storybook or simulator and emulator servers, so they need to be running before tests. Documented animation limitations include looping requestAnimationFrame animations, GIFs, SVG animations, native Lottie animations, and React Native Animated.
reg-suit
reg-suit has no write-up on Specifiction yet; its figures are above.