Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Basic Test file for SwiftBackend
//
// UserTests.swift
// SwiftBackend
//
// Created by Candost Dagdeviren on 12/03/2017.
//
import XCTest
@testable import SwiftBackendLib
class UserTests: XCTestCase {
static var allTests : [(String, (UserTests) -> () throws -> Void)] {
return [
("testAsserts", testAsserts)
]
}
override func setUp() {
super.setUp()
}
func testAsserts() {
XCTAssertEqual(1234, 1234, "Message shown when assert fails")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.