I'm trying to use Quick & Nimble to test a project but the test is never executed.
I've created a project from scratch using File->New->Project in Xcode. The project is called "MyApp". Then I created a UnitTest target testing "MyApp".
I've added the following Podfile:
use_frameworks!
inhibit_all_warnings!
target 'MyApp' do
# Pods for Test
target "MyAppTests" do
pod 'Quick'
pod 'Nimble'
end
end
I ran "pod install" and everything went well.
Then, I've created a test file:
import Quick
import Nimble
@testable import MyApp
class TestSpec: QuickSpec {
override func spec() {
describe("Describe test") {
context("Context test") {
it("Assertion") {
expect("toto") == "tata"
}
}
}
}
}
Then I ran the test. I expected my test to fail but actually: nothing. It's never executed. Do you guys have any idea why?
Thanks a lot.