I\'m running swift test
from the command line to run the test cases. This is the test case:
import XCTest
@testable import vnk_swift
class KeyM
If you are adding TestTarget after creating pod file. Then below code may be missing in the pod file.
target 'DemoTests' do
inherit! :search_paths
# Pods for testing
end
Add above code before end of target like below.
target 'Demo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DocsDemo
target 'DemoTests' do
inherit! :search_paths
# Pods for testing
end
end