I've got a pod on Cocoapods with tests, but cocoapods.org is saying the pod has no tests. How can I do it? What I'm doing wrong?
https://cocoapods.org/pods/SearchEmojiOnString https://github.com/GabrielMassana/SearchEmojiOnString-iOS
The code isn't too complex: https://github.com/CocoaPods/cocoadocs.org/blob/master/classes/testing_idealist.rb
Roughly:
look for common expectations via regexes e.g.
regexes = [/XCTAssert|XCTFail/, # XCTest
/expect\(/, # Expecta, Nimble
/should\]|shouldNot\]/, # Kiwi
/assertThat/, # OCHamcrest
/ should .*;| should_not |expect\(/, # Cedar
/FBSnapshotVerify/ # FBSnapshotTestCase
]
total_test_expectations
.Judging on my comments inline, we've had problems before with Unicode in the Xcode project. Perhaps that's your problem, would appreciate a PR if you can figure it out.