import XCTest

@noreturn public func QCKMain(specs: [XCTestCase], configurations: [QuickConfiguration.Type] = []) {
    // Perform all configuration (ensures that shared examples have been discovered)
    World.sharedWorld.configure { configuration in
        for configurationClass in configurations {
            configurationClass.configure(configuration)
        }
    }
    World.sharedWorld.finalizeConfiguration()

    // Gather all examples (ensures suite hooks have been discovered)
    for case let spec as QuickSpec in specs {
        spec.gatherExamplesIfNeeded()
    }

    XCTMain(specs)
}

Add a QCKMain function for specifying spec and configuration classes to run
Add a QCKMain function for specifying spec and configuration classes to run
