Closed fabiomassimo closed 5 years ago
Hi @fabiomassimo thanks for reporting an issue. Would you please tell me the version of the.
I see interesting path for the test result: /Users/fabio/Developer//-iOS/ Unit Tests/FailureDiffs/AddMoneyIntroductionSnapshotTests/reference_My_view_controller__has_valid_snapshot - fivePointFiveInch@2x.png
I think the parse of this may fail. I will work on it soon 😄
While copying and pasting the logs I have noticed some information missing. I have now updated it as it is saved in my logs folder.
Would you please tell me the version of the.
If you mean the FBSnapshotsViewer, it is the 0.6.0
@fabiomassimo I've tried to check the issue. So far not luck yet. I've created the sample project and it worked fine. Could you please provide a failing sample from your side by any chance?
@fabiomassimo hey, there was a similar issue reported #51, could you please clarify which version of Xcode you're using?
The Xcode version I'm using is 8.3.3 and my logs are in following folder structure :
$ {PATH_TO_DERIVED_DATA}/MyApp-{RANDOM_LETTERS}/Logs/Test/{RANDOM_UUID_FOR_EACH_TEST_RUN}/*.log
Is this of any help? As soon I have time I can try to have the issue on a project that I can share here.
Thanks @fabiomassimo, that helped 👍
Hey @fabiomassimo have you tried to reproduce the issue by any chance?
I have retried with some failing snapshots. They are properly saved in the my IMAGE_DIFF_DIR
but Facebook Snapshot Viewer does not get it.
How can I help you to debug it?
@fabiomassimo if you can provide me with the sample project that would amazing, also if you're willing to help maybe you can try to submit a failing test or even debug by yourself and submit a PR 😉
Xcode 9 support was subsequently added, likely correcting this issue, and this has now being migrated to Xcode 10 support instead. https://github.com/Antondomashnev/FBSnapshotsViewer/pull/76 Likely this issue is historical, so closing at this point.
I'm using Nimble-Snapshot to run my snapshot test cases and even if they fail the application does not seem to react properly.
I have checked the
DerivedData
folder and the logs are properly created. Hereby an abstract: