mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
How to make unit test case #263
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jshl8612 on GitHub (Apr 11, 2019).
Here is my test code in unit test
It crashes on From.swift with a "Fatal error: Unexpectedly found nil while unwrapping an Optional value" log.
Could you help me out? Thanks~~
@JohnEstropia commented on GitHub (Apr 12, 2019):
For unit tests you'll need to pass in the
Bundlefor the unit test module as CoreStore doesn't know where to load it from (There is noBundle.main)@jshl8612 commented on GitHub (Apr 12, 2019):
Thanks for your answer, the issue is solved~