mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
add NSE sources to EX project to easily implement mocking and allow the code to be unit tested
This commit is contained in:
@@ -261,3 +261,10 @@ targets:
|
||||
- path: ../SupportingFiles
|
||||
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/ElementX
|
||||
- path: ../../DevelopmentAssets/Media
|
||||
|
||||
# This is required for testing purposes... The problem with unit tests is that if you
|
||||
# try to `@testable import NSE` you can only get the definition of files, but due to a
|
||||
# limitation in how they work, they can only compile files that are part of the main test
|
||||
# target, so linking will fail. The solution is to just have the main app to reference the
|
||||
# extension code, and test it directly.
|
||||
- path: ../../NSE/Sources
|
||||
|
||||
Reference in New Issue
Block a user