 import Foundation
 import SourceKittenFramework
-import SwiftLintFramework
+@testable import SwiftLintFramework
 import XCTest
 
 let config: Configuration = {

        let swiftFiles = config.lintableFiles(inPath: "", forceExclude: false)
        XCTAssert(swiftFiles.map({ $0.path! }).contains(#file), "current file should be included")

        let violations = swiftFiles.flatMap {
            Linter(file: $0, configuration: config).styleViolations
        }
        violations.forEach { violation in


    func testSwiftLintAutoCorrects() {
        let swiftFiles = config.lintableFiles(inPath: "", forceExclude: false)
        let corrections = swiftFiles.parallelFlatMap { Linter(file: $0, configuration: config).correct() }
        for correction in corrections {
            correction.location.file!.withStaticString {
                XCTFail(correction.ruleDescription.description,
