Last active
February 20, 2017 17:53
-
-
Save gtranchedone/c7efa24fdcafbf07cf05634433e4a1e4 to your computer and use it in GitHub Desktop.
Testing Server Side Swift Apps - LinuxMain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
@testable import AppTests | |
XCTMain([ | |
testCase(PostsControllerTests.allTests), | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
@testable import App | |
class PostsControllerTests: XCTestCase { | |
static var allTests : [(String, (PostsControllerTests) -> () throws -> Void)] { | |
return [ | |
("testExample", testExample), | |
] | |
} | |
func testExample() { | |
XCTAssertTrue(true) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment