I had a test failure on a project I just started, which uses Tuist. In Xcode, this information is in the failure log:
Issue recorded: Snapshot "light" does not match reference.
@−
"file:///Users/connorneville/Documents/Development/CleanFoundry/cf-dev-agent/Worktrees/CFS-40/Targets/AppRootFeatureUITests/Sources/__Snapshots__/AppRootFeatureViewTests/AppRootFeatureView.light.png"
@+
"file:///Users/connorneville/Library/Developer/CoreSimulator/Devices/373C14AE-E256-429D-A562-6CAFFA74EEAA/data/tmp/AppRootFeatureViewTests/AppRootFeatureView.light.png"
To configure output for a custom diff tool, use 'withSnapshotTesting'. For example:
withSnapshotTesting(diffTool: .ksdiff) {
// ...
}
Newly-taken snapshot does not match reference.
However, when I tuist test
, all I see is:
Test Suite 'All tests' passed at 2025-06-19 18:59:53.122.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test run started.
Suite "AppRootFeatureView Tests" started
⚠️ Test "Snapshot test for AppRootFeatureView" recorded an issue with 2 argument(s)
Suite "AppRootFeatureView Tests" failed after 0.274 seconds with 1 issue(s)
(notably, the tuist test output doesn’t say what the recorded issue is). The log in /Users/connorneville/.local/state/tuist/logs/
shows the specific issue being recorded, though. tuist test --verbose
also doesn’t include the specific failure reason. I’m curious what it is about these “recorded issues” - which swift-snapshot-testing seems to use this framework for, that results in this output not being surfaced.
I’m on Tuist 4.53.4.