Add Test suite class

ต่อไปจะเป็นการเพิ่ม Class สำหรับเป็นที่เก็บชุดการทดสอบ หรือเรียกว่า Test suite

ให้ทำการแก้ไข Code ในไฟล์ AdderTest.swift ให้เป็นดังนี้

import Foundation
import XCTest
@testable import xctest_example


class AdderTest: XCTestCase {

}

สังเกตุว่าจะสามารถรันเทสได้แล้ว

results matching ""

    No results matching ""